Skip to content

Instantly share code, notes, and snippets.

View .phraseapp.yml
phraseapp:
access_token: <your_access_token>
project_id: <your_project_id>
push:
sources:
- file: ./Views/en.lproj/Main.strings
params:
file_format: strings
pull:
targets:
View bar_chart.py
import matplotlib.pyplot as plt
# x-coordinates of left sides of bars
left = [1, 2, 3, 4, 5]
# heights of bars
height = [12, 26, 38, 42, 7]
# labels for bars
tick_label = ['one', 'two', 'three', 'four', 'five']
@zaguiini
zaguiini / getAge.js
Created May 26, 2019
Return the age given the parameters
View getAge.js
function getAge(month, day, year) {
const years = new Date(year, month, day)
const fromNow = new Date() - years
return Math.abs(new Date(fromNow).getFullYear() - 1970)
}
View Potential Maintainers
Maintainers:
fdns: libtins, libtins, compactor, compactor, compactor, compactor, libtins, libtins
View Changed Paths
aarch64-linux libtins
x86_64-linux libtins
x86_64-linux compactor
i686-linux compactor
x86_64-darwin compactor
aarch64-linux compactor
x86_64-darwin libtins
i686-linux libtins
@zaagan
zaagan / register.cmd
Created May 26, 2019
Realtime FP Server registration code
View register.cmd
@echo off
cd /d %~dp0
if /i "%PROCESSOR_IDENTIFIER:~0,3%"=="X86" (
echo system is x86
copy .\*.dll %windir%\system32\
copy .\*.oca %windir%\system32\
copy .\*.ocx %windir%\system32\
regsvr32 %windir%\system32\FPCLOCK_Svr.ocx
) else (
echo system is x64
@fangzie
fangzie / PY0101EN-3-1-Conditions.ipynb
Created May 26, 2019
Created on Cognitive Class Labs
View PY0101EN-3-1-Conditions.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View PY0101EN-3.2_notebook_quizz__Loops.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View PY0101EN-2.3_notebook_quizz_dictioary.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AmandaZou
AmandaZou / PY0101EN-2-4-Dictionaries.ipynb
Created May 26, 2019
Created on Cognitive Class Labs
View PY0101EN-2-4-Dictionaries.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.