This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*/10 * * * * /usr/bin/git -C /Users/hyeonseok/repo/makina-runway-product-site/www pull >> ~/Desktop/cron_log.txt 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* reset */ | |
html { | |
-webkit-text-size-adjust: 100%; | |
} | |
button { | |
-webkit-tap-highlight-color: rgba(255,255,255,0); | |
-webkit-tap-highlight-color: transparent; | |
outline: 0 none; | |
} | |
button::-moz-focus-inner { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.thepythoncode.com/article/crack-pdf-file-password-in-python | |
import pikepdf | |
from tqdm import tqdm | |
# load password list | |
passwords = [] | |
for y in range(70, 99): | |
for m in range(1, 12): | |
for d in range(1, 31): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"snippets": | |
{ | |
"css": | |
{ | |
"snippets": | |
{ | |
"tf": "-webkit-transform: ${1:func};\n-moz-transform: $1;\n-ms-transform: $1;\n-o-transform: $1;\ntransform: $1;", | |
"ts": "-webkit-transition: ${1:func};\n-moz-transition: $1;\n-ms-transition: $1;\n-o-transition: $1;\ntransition: $1;" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://twitter.com/umaar/status/1205249225962995717 | |
Object.getOwnPropertyNames(Date.prototype) | |
.filter(name => name.startsWith('to')) | |
.map(method => `${method}: ${(new Date())[method]()}`) | |
/* | |
0: "toUTCString: Fri, 13 Dec 2019 03:39:10 GMT" | |
1: "toLocaleString: 2019. 12. 13. 오후 12:39:10" | |
2: "toLocaleDateString: 2019. 12. 13." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const now = new Date(); | |
const YMD = `${now.getFullYear()}-${`0${now.getMonth() + 1}`.slice(-2)}-${`0${now.getDate()}`.slice(-2)}`; | |
const His = `${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Needs to be clean up. | |
var mainContent = document.getElementById('main'); | |
var open = function (target) { | |
var closeButton = target.querySelector('p.button button'); | |
mainContent.style.top = -1 * document.body.scrollTop + 'px'; | |
mainContent.style.position = 'fixed'; | |
target.setAttribute('aria-hidden', 'false'); | |
document.body.scrollTop = 0; | |
closeButton.addEventListener('click', close); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* UserCSS for Firefox. | |
* https://gist.github.com/hyeonseok/7243239 | |
* | |
* ln -s ~/Dropbox/src/firefox-usercss/userContent.css /Users/hyeonseok/Library/Application\ Support/Firefox/Profiles/{USER_PROFILE}/chrome/userContent.css | |
*/ | |
* { | |
-webkit-touch-callout: text !important; | |
-webkit-user-select: text !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
#scenes .scene.animate{transition: left 0.7s;} | |
#scenes .scene.in{left:0;} | |
#scenes .scene.left{left:-100%;} | |
#scenes .scene.right{left:100%;} | |
*/ | |
var Scene = (function () { | |
var scenes = []; | |
var sceneSequence = '0'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# blank | |
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 | |
# 10% black | |
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURQkJCQC1BbgAAAABdFJOUxq9hCEcAAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg== | |
# 20% black | |
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURQoKBSBopAkAAAABdFJOUzP/NrlwAAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg== | |
# 30% black | |
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURQ0JBpcDsPUAAAABdFJOU01Ii+VLAAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg== | |
# 40% black |
NewerOlder