This file contains hidden or 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
| """#{require'date';D=Date;t=D.today;s=''; | |
| (x=D.new(t.year,t.month,1).cwday%7).times{s<<' '}; | |
| D.new(t.year,t.month,-1).day.times{|i|i+=1;s<<(i<10?' ':'')<<i.to_s<< | |
| ((x+i)%7==0??\n:' ')}; puts s;exit}""";__END__=0;1//2 | |
| from calendar import *; from datetime import * | |
| setfirstweekday(6);t=datetime.today() | |
| print("\n".join(month(t.year,t.month).split("\n")[2:])[: -1]) | |
| #/.hash |
This file contains hidden or 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
| function q(s){p= | |
| /\/\*([^]+)(@@ |\*\/)/;//@@@ | |
| return(s+'@#@#'). match(p)[1].replace(/ |\s+/g,[''][+0]). | |
| replace(/\x24/g,'\x20');}eval(s=q(function(){/*s="function$q(s){p=/ | |
| \\/\\*([^]+)(@@|\\*\\/)/;//@@@return(s+'@#@#').match(p)[1].replace( | |
| /|\\s+/g,[''][+0]).replace(/\\x24/g,'\\x20');}eval(s=q(function(){/ | |
| \*"+s.replace(/$/g,'\x24')+"*\/}))";s="x8z0e8|wez04d|wh7l5h|wz0w|wz | |
| 0w|wz0w|wz0w|wz0v|wz0x|uz0z02|sz0z06|rz0z08|qz0z0a|qiz09i|qfz0ff|q | |
| ez0id|qbb4t59b|qb98q79a|r9a8p989|s8a8p989|5w98q79q|05o8b4t59cfb|9k18 | |
| r3q93h|36n7r1r8l7|21u8m151m8|z9k5l8|z03az03a|z07ifh|o222iz02|q7lp|u312gu |
This file contains hidden or 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
| function q(s){p= | |
| /\/\*([^]+)(@@ |\*\/)/;//@@@ | |
| return(s+'@#@#'). match(p)[1].replace(/ |\s+/g,[''][+0]). | |
| replace(/\x24/g,'\x20');}eval(s=q(function(){/*s="function$q(s){p=/ | |
| \\/\\*([^]+)(@@|\\*\\/)/;//@@@return(s+'@#@#').match(p)[1].replace( | |
| /|\\s+/g,[''][+0]).replace(/\\x24/g,'\\x20');}eval(s=q(function(){/ | |
| \*"+s.replace(/$/g,'\x24')+"*\/}))";s="x8z0e8|wez04d|wh7l5h|wz0w|wz | |
| 0w|wz0w|wz0w|wz0v|wz0x|uz0z02|sz0z06|rz0z08|qz0z0a|qiz09i|qfz0ff|q | |
| ez0id|qbb4t59b|qb98q79a|r9a8p989|s8a8p989|5w98q79q|05o8b4t59cfb|9k18 | |
| r3q93h|36n7r1r8l7|21u8m151m8|z9k5l8|z03az03a|z07ifh|o222iz02|q7lp|u312gu |
This file contains hidden or 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
| CXX = g++ | |
| CXXFLAGS = -std=c++11 -ggdb -I../../../../angelscript/include -D_LINUX_ | |
| SRCDIR = ../../source | |
| OBJDIR = obj | |
| SRCNAMES = \ | |
| main.cpp | |
| OBJ = $(addprefix $(OBJDIR)/, $(notdir $(SRCNAMES:.cpp=.o))) \ | |
| obj/scriptstdstring.o obj/scriptstdstring_utils.o \ |
This file contains hidden or 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
| ;; parser.clj: parser combinators for Clojure | |
| ;; | |
| ;; license: http://makenowjust.github.io/license/wtfpl?2015 | |
| ;; (C) 2015 TSUYUSATO Kitsune | |
| ;; parser's type: | |
| ;; String -> | |
| ;; ((String, result) -> next) -> -- success continuation | |
| ;; (error -> next) -> -- failure continuation | |
| ;; next |
This file contains hidden or 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
| -- == ライブラリの読み込み == | |
| local gears = require("gears") | |
| local awful = require("awful") | |
| awful.rules = require("awful.rules") | |
| require("awful.autofocus") | |
| local wibox = require("wibox") | |
| local beautiful = require("beautiful") | |
| local naughty = require("naughty") | |
| local menubar = require("menubar") | |
| require("debian.menu") |
This file contains hidden or 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
| #!/bin/bash | |
| set -ve | |
| sudo apt install -y qt5-default qtbase5-private-dev | |
| git clone https://github.com/uim/uim.git | |
| cd uim | |
| ./make-wc.sh --with-qt5 --with-qt5-immodule --libexecdir=/usr/lib/x86_64-linux-gnu/uim/ | |
| make | |
| # 必要? | |
| # sudo cp qt5/immodule/plugins/platforminputcontexts/libuimplatforminputcontextplugin.so /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/ |
This file contains hidden or 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
| diff -Naru kite-1.0.4.orig/backend/common/kite_vm.c kite-1.0.4/backend/common/kite_vm.c | |
| --- kite-1.0.4.orig/backend/common/kite_vm.c 2015-03-27 04:04:34.393858194 +0000 | |
| +++ kite-1.0.4/backend/common/kite_vm.c 2015-03-27 04:08:33.341847540 +0000 | |
| @@ -152,7 +152,8 @@ | |
| #endif | |
| #ifdef HAVE_GC_H | |
| - ret->old_proc = GC_set_warn_proc((GC_warn_proc)kite_ignore_gc_warnings); | |
| + ret->old_proc = GC_get_warn_proc(); | |
| + GC_set_warn_proc((GC_warn_proc)kite_ignore_gc_warnings); |
This file contains hidden or 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
| package main | |
| import ( | |
| "errors" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "os" | |
| ) |
This file contains hidden or 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
| 'use strict'; | |
| // class Context | |
| function Context(parent) { | |
| this.parent = parent; | |
| this.local = new Map(); | |
| this.whiteSpace = (parent || this).whiteSpace; | |
| this.specialChar = clone((parent || this).specialChar); | |
| this.isYield = false; |