Skip to content

Instantly share code, notes, and snippets.

HanWool Lee fregmented

Block or report user

Report or block fregmented

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View yobi warn sup
[warn] /home/seyriz/yobiNext/activator-1.2.12-minimal/yobi/app/views/search/partial_search.scala.html:39: match may not be exhaustive.
[warn] It would fail on the following input: AUTO
[warn] search_type match {
[warn] ^
[warn] /home/seyriz/yobiNext/activator-1.2.12-minimal/yobi/app/views/search/partial_search.scala.html:53: match may not be exhaustive.
[warn] It would fail on the following input: AUTO
[warn] search_type match {
[warn] ^
model contains 536 documentable templates
[info] Main Scala API documentation successful.
View login
@module.route('/naver/callback')
def naverCallback():
result = naver.getAuth(request.args)
print('result', type(result), result)
if(type(result) is dict):
print('tokeType', result.get('token_type'))
print('access_toke', result.get('access_token'))
userUnique = naver.getUserInfo(result.get('token_type'), result.get('access_token')).get('data').get('response')
print('userUniq', userUnique)
user = isNaverLogined(userUnique.get('enc_id'))
View 여러 인풋
console.log("Droped!");
var files = e.originalEvent.dataTransfer.files;
console.log(files)
//We need to send dropped files to Server
//handleFileUpload(files,obj);
var urls = [];
for(var i = 0; i<files.length; i++){
var fd = new FormData();
fd.append('musics', files[i]);
$.ajax({
View 실제 업로드
function upload(url, formdata, status){
console.log("upload");
console.log(url);
console.log(formdata);
var extraData ={}; //Extra Data.
var jqXHR=$.ajax({
xhr: function() {
var xhrobj = $.ajaxSettings.xhr();
if (xhrobj.upload) {
View -.-
/usr/bin/python /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/dev_appserver.py --host 0.0.0.0 .
INFO 2015-04-06 15:17:37,262 sdk_update_checker.py:229] Checking for updates to the SDK.
INFO 2015-04-06 15:17:37,563 sdk_update_checker.py:257] The SDK is up to date.
INFO 2015-04-06 15:17:37,706 api_server.py:172] Starting API server at: http://localhost:57443
INFO 2015-04-06 15:17:37,709 dispatcher.py:186] Starting module "default" running at: http://0.0.0.0:8080
INFO 2015-04-06 15:17:37,710 admin_server.py:118] Starting admin server at: http://localhost:8000
{'client_id': 'HGlten1t_vx4x6EhtSvO', 'callback': 'http://shiro.eth9.net:8080/login/naver/callback', 'client_secret': 'oqaSyP0b0_'}
HGlten1t_vx4x6EhtSvO
oqaSyP0b0_
http://shiro.eth9.net:8080/login/naver/callback
View ?????
private synchronized void buildListsByPlaylist(){
ConcurrentMap<String, List<MediaMetadata>> newMusicListByPlaylist = new ConcurrentHashMap<>();
for(MutableMediaMetadata m : mMusicListById.values()){
String playlist = m.metadata.getString(CUSTOM_METADATA_PLAYLIST_NAME);
List<MediaMetadata> list = newMusicListByPlaylist.get(playlist);
Log.e("buildListsByPlaylist", playlist);
if(list == null){
list = new ArrayList<>();
newMusicListByPlaylist.put(playlist, list);
}
View Android Studio SSL Cert Fail
2015-04-12 02:34:11,229 [1765019] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
2015-04-12 02:34:11,229 [1765019] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
2015-04-12 02:34:11,230 [1765020] INFO - util.EmbeddedDistributionPaths - Looking for embedded Maven repo at '/Applications/Android Studio.app/Contents/gradle/m2repository'
2015-04-12 02:34:11,231 [1765021] INFO - .project.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [-Pandroid.injected.build.model.only=true, -Pandroid.injected.build.model.only.advanced=true, -Pandroid.injected.invoked.from.ide=true, --init-script, /private/var/folders/w0/pbg93bm92wq3n0__t0n3ynl00000gn/T/asLocalRepo2055788470259646157.gradle, --init-script, /private/var/folders/w0/pbg93bm92wq3n0__t0n3ynl00000gn/T/ijinit3434146205477802898.gradle]
2015-04-12 02:
View reverse-proxy
server {
listen 80;
server_name domain;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:[dest-post];
}
}
View gitlab.rb
## Url on which GitLab will be reachable.
## For more details on configuring external_url see:
## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/629def0a7a26e7c2326566f0758d4a27857b52a3/README.md#configuring-the-external-url-for-gitlab
external_url ''
## Note: configuration settings below are optional.
## Uncomment and change the value.
############################
# gitlab.yml configuration #
View gist:6726ee0fa4f9b816f061
seyrizui-Mac-mini:SUGARAIN seyriz$ ./gradlew --parallel --stacktrace assemble
Parallel execution is an incubating feature.
:app:preBuild
:xmlrpc:compileLint
:robotoCalendarLibrary:compileLint UP-TO-DATE
:robotoCalendarLibrary:copyReleaseLint
:app:preDebugBuild
:xmlrpc:copyReleaseLint UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:robotoCalendarLibrary:copyReleaseLint UP-TO-DATE
You can’t perform that action at this time.