Skip to content

Instantly share code, notes, and snippets.

View jakl's full-sized avatar
💭
🦊

James Koval jakl

💭
🦊
View GitHub Profile
@jakl
jakl / README.md
Created September 11, 2013 02:51
Bitcoin Mining in Ubuntu

Bitcoin Mining in Ubuntu

Get a Wallet

Coinbase has the best wallets around! Please use this link cause I get $5 referal bonus.

Locate a mine

@jakl
jakl / keybase.md
Created March 25, 2018 01:59
Keybase identity proof

Keybase proof

I hereby claim:

  • I am jakl on github.
  • I am jakl (https://keybase.io/jakl) on keybase.
  • I have a public key ASBzSEwLME42YAVxxoxDGwTrEai43X26QiApX9wHHMIXDQo

To claim this, I am signing this object:

@jakl
jakl / _cell.html.erb
Last active January 4, 2018 14:34
Rails Table Partial
<td width="<%= width %>">
<% if cell %>
<%= render partial: cell_partial, object: cell %>
<% end %>
</td>
@jakl
jakl / index.html
Created January 25, 2014 08:45
Collapsing radio buttons, rapid hack
<head>
<link rel="stylesheet" type="text/css" href="radios.css">
</head>
<body>
<div class=radios></div>
<script src='https://code.jquery.com/jquery-2.1.0.min.js'></script>
<script src='./radios.js'></script>
</body>
@jakl
jakl / cs.js
Last active January 3, 2016 20:09
// ==UserScript==
// @name Access free ChristianScience.com content - most content is out of copyright, from 1800's
// @namespace christianscience.com
// @version 0.2
// @description enter something useful
// @match http://*.christianscience.com/*
// @copyright 2014+, @jakl
// ==/UserScript==
if (sharecode && $('#email').length)
@jakl
jakl / README.md
Last active December 28, 2015 11:19
Google doc jsonp test

Gdoc Jsonp

Google doc spreadsheets can be used as client-side-only data endpoints with the jsonp protocol

Here is a simple demo of my document that contains

name    	 age
--------------
@jakl
jakl / test_clicking_checkbox.rb
Created October 10, 2013 22:18
capybara why!!!
######### CHROME + JQUERY ###############
$('.phrase-checkbox').attr('checked')
undefined
$('.toggle-phrases').attr('checked')
undefined
$('.toggle-phrases').click()
[ <input class=​"toggle-phrases" type=​"checkbox">​ ]
@jakl
jakl / incomplete_locales.rb
Created October 2, 2013 23:19
Locales that havn't finished translating an import yet
class Import
def self.incomplete_locales
Locale.where(id:
self.phrases.all_globally_pending.joins(
'JOIN projects_locales'\
' on phrases_projects.project_id = projects_locales.project_id'\
' and projects_locales.status_id != 0'
).pluck('projects_locales.locale_id')
)
end
@jakl
jakl / .gitignore
Last active December 24, 2015 04:59
obfuscated.js
node_modules/
@jakl
jakl / .gitignore
Last active December 24, 2015 03:59
nodeschool.io Learn You The Node.js For Much Win!
node_modules/