Skip to content

Instantly share code, notes, and snippets.

View HelloWorld017's full-sized avatar
💐
muguet - Hanahuruhibi,

nenw* HelloWorld017

💐
muguet - Hanahuruhibi,
View GitHub Profile
@HelloWorld017
HelloWorld017 / scratch-ajax.js
Created March 29, 2017 01:57
use ajax in scratch
new (function() {
window.include = function(srclist, cb){
if(!cb) cb = function(){};
var requireModule = (function(index){
var moduleName = Object.keys(srclist)[index];
var src = srclist[moduleName];
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function(){
if(xhr.readyState !== 4) return;
new (function() {
var ext = this;
var debugmode = !!window.scratchRegexExtensionEnv;
ext._shutdown = function() {};
ext._getStatus = function() {
return {status: 2, msg: 'Ready'};
};
ext.regex = function(str, regexStr, flags, n){
@HelloWorld017
HelloWorld017 / scratch-eval.js
Last active April 10, 2017 02:51
JS Evaluate for scratch
new (function() {
var ext = this;
ext._shutdown = function() {};
ext._getStatus = function() {
return {status: 2, msg: 'Ready'};
};
ext.eval = function(str){
return eval(str);
@HelloWorld017
HelloWorld017 / namuwiki-img-dl.js.user.js
Last active September 3, 2017 08:24
나무위키의 이미지 우클릭 시 빈 이미지가 다운로드 되는 것을 방지합니다.
// ==UserScript==
// @name Namuwiki Image RightClickable
// @namespace https://khinenw.tk/
// @version 1.1.rc-1
// @description Don't save blank image when right click namuwiki images
// @author Khinenw
// @match http://namu.wiki/*
// @match https://namu.wiki/*
// @grant none
// @license MIT License
@HelloWorld017
HelloWorld017 / agnoster-nenwflavoured.zsh-theme
Last active September 25, 2019 14:01
Nenw-flavoured Agnoster
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
@HelloWorld017
HelloWorld017 / sounds.html
Last active September 17, 2017 04:56
Oscillator-Oscilloscope
<!DOCTYPE html>
<html>
<head>
<title>Oscillator-Oscilloscope</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css">
<link rel="stylesheet" href="https://cdn.rawgit.com/HelloWorld017/NanumBarunGothic/master/nanumbarungothic.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, intial-scale=2, user-scalable=no">
<style>
.range-box {
@HelloWorld017
HelloWorld017 / hanjacrawl.js
Created September 26, 2017 14:07
Crawl hanja from naver dictionary and print beautifully
const axios = require('axios').create({
headers: {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36'
},
responseType: 'text',
baseURL: 'http://hanja.naver.com'
});
const cheerio = require('cheerio');
const fs = require('fs');
@HelloWorld017
HelloWorld017 / ytdl-client.user.js
Last active April 21, 2020 18:52
Youtube Downloader using HelloWorld017/ytdl-server
// ==UserScript==
// @name Youtube Downloader
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Download videos on youtube
// @author Khinenw
// @include http://www.youtube.com/*
// @include https://www.youtube.com/*
// @include http://youtube.com/*
// @include https://youtube.com/*
@HelloWorld017
HelloWorld017 / 01_파이썬 정리.md
Last active November 28, 2017 14:07
빛나리 36호 파이썬 배운 것을 정리해보자!

파이썬 정리

  • 모르는 것이 있으면 언제나 질문 가능

주석

# 이 이후로는 처리하지 않음

조건문

@HelloWorld017
HelloWorld017 / github-no-billing.user.js
Last active December 31, 2017 10:12
Github No Billing Message
// ==UserScript==
// @name Github No Billing Message
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Remove billing message in github
// @author You
// @match *://*.github.com/*
// @grant none
// ==/UserScript==