Skip to content

Instantly share code, notes, and snippets.

View veiz's full-sized avatar
💭
I may be slow to respond.

Wil Cho veiz

💭
I may be slow to respond.
View GitHub Profile
In file included from /Users/alsor/Downloads/guteday.app.ios/Project.iOS/PrefixHeader.pch:19:
In file included from /Users/alsor/Downloads/guteday.app.ios/Pods/Headers/Public/QMServices/QMServices.h:13:
In file included from /Users/alsor/Downloads/guteday.app.ios/Pods/Headers/Public/QMServices/QMDBStorage.h:21:
In file included from /Users/alsor/Downloads/guteday.app.ios/Pods/Headers/Public/QMServices/QMCDRecord.h:48:
/Users/alsor/Downloads/guteday.app.ios/Pods/Headers/Public/QMServices/NSManagedObjectModel+QMCDRecord.h:16:120: error: expected identifier
+ (NSManagedObjectModel *)QM_newModelNamed:(NSString *)modelName inBundleNamed:(NSString *)bundleName fromClass:(Class)class NS_RETURNS_RETAINED;
^
/Users/alsor/Downloads/guteday.app.ios/Pods/Headers/Public/QMServices/NSManagedObjectModel+QMCDRecord.h:16:120: error: expected ';' after method prototype
/Users/alsor/Downloads/guteday.app.ios/Po
12-21 11:13:50.666 786-983/? E/Diag_Lib: CDMA signalStrength: dbm = -116
12-21 11:13:51.357 2668-20730/? E/Util: NameNotFoundException
android.content.pm.PackageManager$NameNotFoundException: com.xiaomi.hm.health
at android.app.ApplicationPackageManager.getApplicationInfoAsUser(ApplicationPackageManager.java:345)
at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:327)
at com.miui.home.launcher.assistant.util.Util.checkPackage(Util.java:531)
at com.miui.home.launcher.assistant.modules.searchableitems.SportItem.queryItem(SportItem.java:62)
at com.miui.home.launcher.assistant.provider.PersonalAssistantProvider.query(PersonalAssistantProvider.java:124)
at android.content.Cont
12-21 11:04:20.391 2806-3049/? E/Metok_Tag: < metok_cl > invalid cell id
12-21 11:04:20.391 2806-3049/? E/Metok_Tag: < metok_cl > invalid cell id
12-21 11:04:20.391 2806-3049/? E/Metok_Tag: < metok_cl > invalid cell id
12-21 11:04:20.392 2806-3049/? E/Metok_Tag: < metok_cl > invalid cell id
12-21 11:04:20.392 2806-3049/? E/Metok_Tag: < metok_cl > invalid cell id
12-21 11:04:20.392 2806-3049/? E/Metok_Tag: < metok_cl > invalid cell id
12-21 11:04:21.075 786-983/? E/Diag_Lib: CDMA signalStrength: dbm = -111
12-21 11:04:21.514 2668-20730/? E/Util: NameNotFoundException
android.content.pm.PackageManager$NameNotFoundException: com.xiaomi.hm.health
at android.app.ApplicationPackageManager.getApplicationInfoAsUser(ApplicationPackageManager.java:345)
11-11 14:10:54.366 18986-18986/com.gogent.guteday D/QBASDK: =========================================================
=== REQUEST ==== 8eccfd0a-89f9-42f0-b0ad-776aa89e7405 ===
REQUEST
POST https://api.quickblox.com/blobs.json
HEADERS
QuickBlox-REST-API-Version=0.1.1
QB-SDK=Android 3.1.0
QB-Token=3c314713985108957d90c5202d8ac7ff4a00513a
PARAMETERS
blob[content_type]=image/jpeg
public void updateAvatar(File avatarFile) {
QBEntityCallback callback = new QBEntityCallback<QBAttachment>() {
@Override
public void onSuccess(QBAttachment attachment, Bundle params) {
Timber.v("ok");
}
@Override
public void onError(QBResponseException e) {
Timber.e(e.getMessage());
^(?!dalvikvm|memalloc|Socket_Pool|libc|Trace|global|Socket_Alarm|AwContents|chromium|AudioManagerAndroid|eglCodecCommon)
@veiz
veiz / xcode_update_plugin.sh
Last active September 30, 2015 05:07
Update Xcode plugins after Xcode version UUID changed. Stolen from https://github.com/cikelengfeng/RPAXU/blob/master/refreshPluginsAfterXcodeUpgrading.sh
#!/bin/bash
#获取当前版本Xcode的DVTPlugInCompatibilityUUID
UUID=$(defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID)
echo Xcode DVTPlugInCompatibilityUUID is $UUID
#遍历每一个Xcode插件,将UUID写入插件的兼容列表中
for MyPlugin in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*
do
defaults write "$MyPlugin"/Contents/Info DVTPlugInCompatibilityUUIDs -array-add $UUID
echo write DVTPlugInCompatibilityUUID to $MyPlugin succeed!
done
@veiz
veiz / README.md
Last active August 29, 2015 14:18 — forked from nicerobot/README.md

To run this, you can try:

curl -ks https://gist.github.com/nicerobot/2697848/raw/uninstall-node.sh | bash

I haven't tested this script doing it this way but i run a lot of my Gists like this so maybe this one'll work too.

Alternatively,

curl -ksO https://gist.github.com/nicerobot/2697848/raw/uninstall-node.sh

chmod +x ./uninstall-node.sh