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
companyId | transactionId | amount | |
---|---|---|---|
5cf1486a9477524978a1e7d5 | 4335633 | 487570 | |
5b86a4bfd74a8400044fb6d7 | 4335633 | -487570 |
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
from google.colab import drive | |
drive.mount('/content/drive') | |
import pandas as pd | |
df = pd.read_csv('/content/drive/My Drive/Data/file.csv') | |
df.head(10) |
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
#!/bin/bash | |
PHANTOMJS=phantomjs-2.1.1-linux-x86_64 | |
PHANTOMJS_FILE=$PHANTOMJS.tar.bz2 | |
cd /tmp | |
curl -LO https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOMJS_FILE | |
tar xvjf $PHANTOMJS_FILE | |
mv $PHANTOMJS/bin/phantomjs /usr/local/bin | |
rm -rf $PHANTOMJS | |
rm /tmp/$PHANTOMJS_FILE |
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
var div1 = $("#the-div1"); | |
var div2 = $("#the-div2"); | |
var div3 = $("#the-div3"); | |
var aziScroll = new AziScroll(); | |
aziScroll.addEvent(1000, div1, function(element) { element.addClass("x") }); | |
aziScroll.addEvent(2000, div2, function(element) { element.addClass("y") }); | |
aziScroll.addEvent(3000, div3, function(element) { element.addClass("z") }); | |
var onScroll = function() { |
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
rbenv install 1.9.3-p545 --keep | |
gem install debugger -v 1.6.5 -- --with-ruby-include=/Users/azisaka/.rbenv/sources/1.9.3-p545/ruby-1.9.3-p545 |
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
class User < ActiveRecord::Base | |
# ... | |
def self.sync_users | |
users_to_sync = where synced: false | |
SyncUsers.new(users_to_sync).tap &:sync | |
end | |
# ... | |
end | |
class UsersSyncer |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); |
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
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD | |
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderradius-boxshadow-opacity-textshadow-cssgradients-canvas-shiv-teststyles-testprop-testallprops-prefixes-domprefixes | |
*/ | |
;window.Modernizr=function(a,b,c){function y(a){i.cssText=a}function z(a,b){return y(l.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b){for(var d in a){var e=a[d];if(!B(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function D(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}function E(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return A(b,"string")||A(b,"undefined")?C(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),D(e,b,c))}var d="2.6.2",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().sp |
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
*.pyc | |
client-* |
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
*.class |
NewerOlder