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
node_modules | |
npm-debug.log |
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
""" | |
Extract text from files with common file extensions. (inspried by textract <http://textract.readthedocs.org/en/latest/>) | |
Modified: Dec 2015 | |
System requirement: | |
+ catdoc/catppt for doc/ppt extract <http://www.wagner.pp.ru/~vitus/software/catdoc/> | |
""" | |
import zipfile | |
import PyPDF2 | |
from subprocess import Popen, PIPE | |
from pptx import Presentation |
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
//Cbrt.go | |
//Advanced Exercise: Complex cube roots | |
package main | |
import ( | |
"fmt" | |
"math/cmplx" | |
) |
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
# http://www.codeskulptor.org/#user38_BFtRPWuJKS_1.py | |
# Mini-project #6 - Blackjack | |
import simplegui | |
import random | |
# load card sprite - 936x384 - source: jfitz.com | |
CARD_SIZE = (72, 96) | |
CARD_CENTER = (36, 48) | |
card_images = simplegui.load_image("http://storage.googleapis.com/codeskulptor-assets/cards_jfitz.png") |
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
//The 3n+1 problem | |
#include <iostream> | |
#include <cstdio> | |
using namespace std; | |
int limit = 999999; | |
int len[999999]; | |
int get_cycle_len(long long int n){ |