Skip to content

Instantly share code, notes, and snippets.

View filletofish's full-sized avatar
😈

Filipp Fediakov filletofish

😈
View GitHub Profile
@JohnSundell
JohnSundell / gh
Created April 30, 2018 07:51
Script that makes it easy to show a Git repo on GitHub.com
#!/usr/bin/env bash
# If run without a name, open any current repo
if [ -z "$1" ]; then
URL=$(git remote get-url origin)
URL=${URL/"[email protected]:"/"https://github.com/"}
URL=${URL/".git"/""}
open $URL
else
open "https://github.com/$1"
@lattner
lattner / TaskConcurrencyManifesto.md
Last active November 15, 2024 05:45
Swift Concurrency Manifesto
@azimin
azimin / [Quiz] CocoaHeads Russia, Moscow, March 2017
Created April 21, 2017 11:27
Quiz from CocoaHeads Russia meeting in Moscow (March 2017)
CocoaHeads Russia, Moscow, March 2017
Пожалуйста указывайте авторство
Все вопросы, жалобы и уточнения можно на писать мне в одной из социальных сетей:
https://vk.com/azimin
https://twitter.com/ziminalex
https://facebook.com/AllZimin
#1 Что неправда про метод `viewDidUnload`?
@azimin
azimin / [Quiz] CocoaHeads Russia, Moscow, January 2017
Last active October 31, 2017 12:03
Quiz from CocoaHeads Russia meeting in Moscow (January 2017)
CocoaHeads Russia, Moscow, January 2017
Пожалуйста указывайте авторство
Все вопросы, жалобы и уточнения можно на писать мне в одной из социальных сетей:
https://vk.com/azimin
https://twitter.com/ziminalex
https://facebook.com/AllZimin
#1 В какой группе хотя бы один параметр не являются валидным для #if os()?
@azimin
azimin / [Quiz] CocoaHeads Russia, St. Petersburg, December 2016
Last active December 24, 2017 15:50
Quiz from CocoaHeads Russia meeting in Saint Petersburg (December 2016)
CocoaHeads Russia December Quiz
Пожалуйста указывайте авторство
Все вопросы, жалобы и уточнения можно на писать мне в одной из социальных сетей:
https://vk.com/azimin
https://twitter.com/ziminalex
https://facebook.com/AllZimin
Ответы в конце файла.
@cbellei
cbellei / TDMAsolver.py
Last active September 11, 2023 16:26 — forked from ofan666/TDMAsolver.py
Tridiagonal Matrix Algorithm solver in Python
import numpy as np
## Tri Diagonal Matrix Algorithm(a.k.a Thomas algorithm) solver
def TDMAsolver(a, b, c, d):
'''
TDMA solver, a b c d can be NumPy array type or Python list type.
refer to http://en.wikipedia.org/wiki/Tridiagonal_matrix_algorithm
and to http://www.cfd-online.com/Wiki/Tridiagonal_matrix_algorithm_-_TDMA_(Thomas_algorithm)
'''
nf = len(d) # number of equations
@JaviLorbada
JaviLorbada / FRP iOS Learning resources.md
Last active June 17, 2024 06:08
The best FRP iOS resources.

Videos

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active November 18, 2024 03:05
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@sloria
sloria / bobp-python.md
Last active November 14, 2024 15:01
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: