- pandas
- scikit-learn
- sklearn-pandas
- Dive
- Google hosted jupyter notebook: Colab. Introductory tutorial on how to use colab
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 python:3 as build-system | |
RUN pip install -U pip | |
COPY requirements.txt requirements.txt | |
### create temporary image used to download and vendor packages using private key ### | |
FROM build-system as intermediate | |
# add credentials on build |
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 | |
#ls /tmp > /dev/null & | |
sleep 60 & | |
sudo chrt -f -p 99 $! | |
#sudo chrt -r |
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 "llvm/ADT/SetVector.h" | |
#include "llvm/ADT/APSInt.h" | |
#include "clang/Driver/Options.h" | |
#include "clang/AST/AST.h" | |
#include "clang/AST/ASTContext.h" | |
#include "clang/AST/ASTConsumer.h" | |
#include "clang/AST/Expr.h" | |
#include "clang/AST/OperationKinds.h" | |
#include "clang/AST/RecursiveASTVisitor.h" | |
#include "clang/Frontend/ASTConsumers.h" |
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
#!/usr/bin/env python | |
# Import the disassembly library (libopcodes) | |
from pybfd.opcodes import Opcodes, OpcodesException | |
from pybfd.bfd import Bfd, BfdException | |
from sys import argv, exit | |
from subprocess import Popen, PIPE | |
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 | |
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-latest | |
cd llvm-latest/tools | |
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang | |
cd clang/tools | |
svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra | |
cd ../../../.. #go back to top directory | |
cd llvm-latest/projects | |
svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt |
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
//clear the whole terminal screen | |
printf("\033[2J\033[1;1H"); | |
//only clear the portion for current portion of its | |
fputs("\033[A\033[2K\033[A\033[2K",stdout); | |
rewind(stdout); | |
ftruncate(1,0); |
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
#!/usr/bin/env python | |
""" | |
A pure python ping implementation using raw socket. | |
Note that ICMP messages can only be sent from processes running as root. | |
Derived from ping.c distributed in Linux's netkit. That code is |
NewerOlder