Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View J2TEAM's full-sized avatar
💭
I may be slow to respond.

JUNO_OKYO J2TEAM

💭
I may be slow to respond.
View GitHub Profile
/*
Bootstrap v3.3.1 (http://getbootstrap.com)
*/
/*
NOTE:
This file has Normalize.css removed.
It still requires a "reset.css", so we're using this...
@J2TEAM
J2TEAM / lulz.js
Created February 26, 2015 09:51 — forked from nathansmith/lulz.js
(function(d) {
'use strict';
// DOM elements.
var body = d.body;
var html = d.documentElement;
var head = d.head || d.getElementsByTagName('head')[0];
// Style attributes.
var b = body.style;

Keybase proof

I hereby claim:

  • I am J2TeaM on github.
  • I am juno_okyo (https://keybase.io/juno_okyo) on keybase.
  • I have a public key whose fingerprint is EB24 F251 C1D1 E83B DBC5 61E4 967C CEDC 4EA6 6A66

To claim this, I am signing this object:

@J2TEAM
J2TEAM / php-build-system.sublime-build
Created June 5, 2015 13:08
PHP Build System for Sublime Text
{
"cmd": ["E:\\wamp\\bin\\php\\php5.5.12\\php.exe", "$file"],
"file_regex": "php$",
"selector": "source.php"
}
@J2TEAM
J2TEAM / hack-cheat-kuku-kube.js
Created June 27, 2015 12:44
Javascript cheat for kuku-kube.com
function _css(e) {
return $(e).css('background-color');
}
function _mainColor() {
var holder = $('#box > span'),
mainColor = '',
a = _css(holder[0]),
b = _css(holder[1]),
c = _css(holder[2]);
@J2TEAM
J2TEAM / mr.robot-exploit.js
Last active December 27, 2017 16:00
JS cheat code for http://www.whoismrrobot.com/fsociety/ (obfuscated keyboard level)
/* Coded by Juno_okyo */
function getRealKey(char) {
var keyMap = keys = '',
index = 0,
el = document.getElementsByClassName('key char');
keyMap = 'qwertyuiop';
keyMap += 'asdfghjkl';
keyMap += 'zxcvbnm';
@J2TEAM
J2TEAM / sublime-text-scopes.md
Last active January 17, 2024 22:44 — forked from iambibhas/scopes.txt
Sublime Text 2/3: Snippet scopes

Here is a list of scopes to use in Sublime Text 2/3 snippets -

ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
@J2TEAM
J2TEAM / Gruntfile.js
Created November 12, 2015 11:00 — forked from markgoodyear/01-gulpfile.js
Comparison between gulp and Grunt. See http://markgoodyear.com/2014/01/getting-started-with-gulp/ for a write-up.
/*!
* Grunt
* $ npm install grunt-contrib-uglify grunt-autoprefixer grunt-contrib-cssmin grunt-contrib-imagemin grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat grunt-contrib-clean grunt-contrib-jshint grunt-notify --save-dev
*/
module.exports = function(grunt) {
grunt.initConfig({
// Sass
@J2TEAM
J2TEAM / latency.txt
Created December 5, 2015 17:04 — forked from jboner/latency.txt
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers
--------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms
Read 4K randomly from SSD* 150,000 ns 0.15 ms
@J2TEAM
J2TEAM / readcolor.au3
Created December 22, 2015 14:04 — forked from turbo/readcolor.au3
Read pixel from hidden window
#include <WinAPI.au3>
#include <WindowsConstants.au3>
Opt("WinTitleMatchMode", 2)
Local $hCompDC = _WinAPI_CreateCompatibleDC(0)
Local $tBMI = DllStructCreate($tagBITMAPINFO)
DllStructSetData($tBMI, 1, DllStructGetSize($tBMI) - 4) ; size of struct
DllStructSetData($tBMI, 2, 400) ; width
DllStructSetData($tBMI, 3, 400) ; height