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 --git a/src/openssl.c b/src/openssl.c | |
| index 99a1ec0..7dc19e2 100644 | |
| --- a/src/openssl.c | |
| +++ b/src/openssl.c | |
| @@ -2988,7 +2988,7 @@ static int xc_getVersion(lua_State *L) { | |
| static int xc_setVersion(lua_State *L) { | |
| X509 *crt = checksimple(L, 1, X509_CERT_CLASS); | |
| - int version = luaL_checkint(L, 2); | |
| + int version = luaL_checkinteger(L, 2); |
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
| #include <lua.h> | |
| #include <lauxlib.h> | |
| #ifdef _WIN32 | |
| #include <windows.h> | |
| #define EXPORT __declspec(dllexport) | |
| #else | |
| #include <sys/time.h> | |
| #include <unistd.h> | |
| #define EXPORT |
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
| #!/usr/bin/env luajit | |
| local abs, log, max, min, sqrt, tan = math.abs, math. log, math.max, math.min, math.sqrt, math.tan | |
| local function normalize3(x, y, z) | |
| local len = sqrt(x*x + y*y + z*z) | |
| return { x / len, y / len, z / len } | |
| end | |
| local function normalize(vec) | |
| return normalize3(vec[1], vec[2], vec[3]) |
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
| #!/usr/bin/env wsapi.cgi | |
| local fw = require "framework" | |
| local app = fw.app.new() | |
| app:setup_session("s3cret key") | |
| local page_home = [[ | |
| <!DOCTYPE html> | |
| <html> |
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
| -- Micro web framework for writing REST applications. | |
| -- Made by @wolfiestyle | |
| -- Last modified: 2015-02-01 | |
| -- License: MIT/X11 | |
| local error, ipairs, math_random, next, pairs, require, select, setmetatable, string_char, table_concat, tonumber, tostring, type, unpack = | |
| error, ipairs, math.random, next, pairs, require, select, setmetatable, string.char, table.concat, tonumber, tostring, type, unpack | |
| local stderr = io.stderr | |
| local Request = require "wsapi.request" | |
| local Response = require "wsapi.response" |
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
| #!/usr/bin/gsl-shell -i | |
| function clamp(n, min, max) | |
| if n < min then return min end | |
| if n > max then return max end | |
| return n | |
| end | |
| ap = 420 |
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
| // ==UserScript== | |
| // @name LoL forums lolking links | |
| // @namespace http://fluffy.pw/ | |
| // @description adds a lolking link to user names | |
| // @include http://forums.*.leagueoflegends.com/board/showthread.php?* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| $("p.post-user").wrap(function() { |
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
| .promoted-tweet { | |
| display: none; | |
| } | |
| .wrapper { | |
| width: 95% !important; | |
| } | |
| .content-main { | |
| width: 75% !important; |
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
| # completion | |
| autoload -U compinit && compinit | |
| zstyle ':completion:*:descriptions' format '%F{green}%B-- %d%b%f' | |
| zstyle ':completion:*:warnings' format '%F{red}%Bno matches for:%b%f %d' | |
| zstyle ':completion:*' group-name '' | |
| zstyle ':completion:*' menu select | |
| zstyle ':completion:*' special-dirs .. | |
| zstyle ':completion:*:*:kill:*' command 'ps -u$USER -o pid,%cpu,tty,cputime,cmd' | |
| # correction |
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
| █ | |
| ▉ | |
| ╔══╦══╗ ┌──┬──┐ ╭──┬──╮ ╭──┬──╮ ┏━━┳━━┓ ┎┒┏┑ ╷ ╻ ┏┯┓ ┌┰┐ ▊ ╱╲╱╲╳╳╳ | |
| ║┌─╨─┐║ │╔═╧═╗│ │╒═╪═╕│ │╓─╁─╖│ ┃┌─╂─┐┃ ┗╃╄┙ ╶┼╴╺╋╸┠┼┨ ┝╋┥ ▋ ╲╱╲╱╳╳╳ | |
| ║│╲ ╱│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╿ │┃ ┍╅╆┓ ╵ ╹ ┗┷┛ └┸┘ ▌ ╱╲╱╲╳╳╳ | |
| ╠╡ ╳ ╞╣ ├╢ ╟┤ ├┼─┼─┼┤ ├╫─╂─╫┤ ┣┿╾┼╼┿┫ ┕┛┖┚ ┌┄┄┐ ╎ ┏┅┅┓ ┋ ▍ ╲╱╲╱╳╳╳ | |
| ║│╱ ╲│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╽ │┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▎ | |
| ║└─╥─┘║ │╚═╤═╝│ │╘═╪═╛│ │╙─╀─╜│ ┃└─╂─┘┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▏ | |
| ╚══╩══╝ └──┴──┘ ╰──┴──╯ ╰──┴──╯ ┗━━┻━━┛ └╌╌┘ ╎ ┗╍╍┛ ┋ ▁▂▃▄▅▆▇█ |