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 wolframscript | |
(* ::Package:: *) | |
(* ::Input:: *) | |
(*tbl1 = Import[FileNameJoin[{$HomeDirectory , "tmp", "port.tsv"}]];*) | |
(* ::Input:: *) | |
(*(* Some of the types of prices you can ask for *)*) | |
(**) |
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 bash | |
# Setup for Ubuntu 18.08, 18.10 | |
# standard'ish GNU tools | |
sudo apt-get install libtool # stops configure.ac AC_ENABLE_SHARED, ... probs | |
# Other items seems required by ubuntu 17.10 | |
sudo apt-get install nasm | |
sudo apt install libfontconfig1-dev intltool libxft-dev |
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
sudo apt install libffi-dev libgmp-dev libunistring-dev | |
# for bdw-gc: | |
sudo apt install libgc-dev |
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
cd | |
sudo sbopkg -i arm-binutils | |
sudo sbopkg -i newlib-headers | |
sudo sbopkg -i arm-gcc | |
wget https://github.com/ultibohub/Tools/releases/download/1.0.5/ultiboinstaller.sh | |
chmod +x ultiboinstaller.sh | |
./ultiboinstaller.sh | |
#To start lazarus: |
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 bash | |
function inputs { | |
echo "today `date --iso`" | cat - <<insert your input files here>> | |
} | |
function pending { | |
DSTAMP=`date --iso` | |
RE="s/^pending/ntran $DSTAMP/" |
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 awk | |
BEGIN { | |
IFS="\t" ; OFS = ","; | |
print "TICKER,DATE,TIME,TYPE,SHARES,FX,PRICE,CURRENCY,COMMISSION,TAX,TOTAL"; | |
} | |
{ | |
#print ""; | |
#print $0; |
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 python | |
import os | |
from pyftpdlib.authorizers import DummyAuthorizer | |
from pyftpdlib.handlers import FTPHandler | |
from pyftpdlib.servers import FTPServer | |
def main(): | |
# Instantiate a dummy authorizer for managing 'virtual' users |
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
;;;; https://github.com/rigetticomputing/alexa | |
(ql:quickload "alexa") | |
#| | |
(defpackage :blang | |
(:use :common-lisp :alexa)) | |
(in-package :blang) | |
|# |
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 <iostream> | |
#include <string> | |
#include <stdexcept> | |
class cc { | |
public: | |
cc() { std::cout << "hi" << std::endl; } | |
~cc() { std::cout << "bye" << std::endl; } | |
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.