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
git pull | |
git checkout --orphan temp_branch | |
git add -A | |
git commit -am "commit" | |
git branch -D master | |
git branch -m master | |
git push -f origin master |
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
apt-get install -y wget gcc build-essential python3-dev python3-setuptools | |
export PATH=/usr/local/bin:$PATH | |
git clone https://github.com/debuggermalhotra/install_libkloudtrader.git | |
cd install_libkloudtrader | |
./configure --prefix=/usr | |
make | |
make install |
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
def configure_plotly_browser_state(): | |
import IPython | |
display(IPython.core.display.HTML(''' | |
<script src="/static/components/requirejs/require.js"></script> | |
<script> | |
requirejs.config({ | |
paths: { | |
base: '/static/base', | |
plotly: 'https://cdn.plot.ly/plotly-1.5.1.min.js?noext', | |
}, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#include<stdio.h> | |
#include <math.h> | |
#include<conio.h> | |
#define ESP 0.001 | |
#define F(x) (x)*(x)*(x) + (x)*(x) + (x) + 7 | |
void main() | |
{ | |
int i = 1; | |
float x0,x1,x2; | |
double f1,f2,f0,t; |
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
P40AUTO TC MAKECADR # HELLO THERE. | |
TS TEMPR60 # FOR GENERALIZED RETURN TO OTHER BANKS. | |
P40A/P TC BANKCALL # SUBROUTINE TO CHECK PGNCS CONTROL | |
CADR G+N,AUTO # AND AUTO STABILIZATION MODES | |
CCS A # +0 INDICATES IN PGNCS, IN AUTO | |
TCF TURNITON # + INDICATES NOT IN PGNCS AND/OR AUTO | |
CAF APSFLBIT # ARE WE ON THE DESCENT STAGE? | |
MASK FLGWRD10 | |
CCS A | |
TCF GOBACK # RETURN |
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
import speech_recognition | |
import pyttsx | |
speech_engine = pyttsx.init('sapi5') # see http://pyttsx.readthedocs.org/en/latest/engine.html#pyttsx.init | |
speech_engine.setProperty('rate', 150) | |
def speak(text): | |
speech_engine.say(text) | |
speech_engine.runAndWait() |
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
import java.util.Scanner; | |
public class calculator { | |
public static void main(String[] args) { | |
System.out.println("\t\t\t\tCALCULATOR\t\t\t\t"); | |
System.out.println("write add for addition"); | |
System.out.println("write sub for subtraction"); | |
System.out.println("write prod for multiplication"); | |
System.out.println("write div for division"); |