Skip to content

Instantly share code, notes, and snippets.

View szobov's full-sized avatar

Sergei Zobov szobov

View GitHub Profile
@szobov
szobov / .gitignore
Created May 10, 2016 08:56 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
wget https://bootstrap.pypa.io/get-pip.py
chmod +x get-pip.py
python get-pip.py
let
pkgs = import <nixpkgs> {};
in
{ }:
with pkgs;
let
docker-py = lib.overrideDerivation pythonPackages.docker (oldAttrs: rec {
name = "docker-py-1.10.6";
hilt.core._inherits = (function hilt$core$_inherits(subClass, superClass) {
subClass.prototype = Object.create((function() {
var and__7101__auto__ = superClass;
if (cljs.core.truth_(and__7101__auto__)) {
return superClass.prototype;
} else {
return and__7101__auto__;
}
})(), (function() {
var obj12511 = {
external mediumEditor : string => 'a => 'b = "medium-editor" [@@bs.module] [@@bs.new];
external extend : 'a => 'b = "" [@@bs.module "medium-editor"] [@@bs.scope "Extension"];
type baseExtensionT = Js.t {
.
subscribe: (string => unit => unit) [@bs.meth],
handleKeydown: (unit => unit) [@bs.meth]
};
We've found a bug for you!
/home/foo/dev/reason-tryies/src/index.re
1 │ external mediumEditor : string => 'a => 'b = "medium-editor" [@@bs.mod
ule][@@bs.new];
2 │ external extend: 'a => 'b = "" [@@bs.module "medium-editor"][@@bs.scop
e "Extension"];
3 │ let _ext = {
4 │ "name": "myext",
{
"name": "hello",
"sources": [
{
"dir": "src",
"subdirs": true
}
],
"bsc-flags": ["-bs-super-errors"],
"bs-dependencies": [
FROM ubuntu:16.04
ENV ANDROID_HOME /opt/android-sdk
RUN apt-get update && apt-get install -y lib32stdc++6 lib32z1 nodejs npm openjdk-8-jdk unzip wget && \
ln -s /usr/bin/nodejs /usr/bin/node && \
wget -q https://dl.google.com/android/repository/tools_r25.2.3-linux.zip -O /tmp/android-sdk.zip && \
unzip /tmp/android-sdk.zip -d ${ANDROID_HOME} && rm /tmp/android-sdk.zip
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
@szobov
szobov / .spacemacs
Created March 25, 2018 16:27
Copy/paste to xclip using emacs -nw
(defun copy-to-clipboard ()
"Copies selection to x-clipboard."
(interactive)
(if (display-graphic-p)
(progn
(message "Yanked region to x-clipboard!")
(call-interactively 'clipboard-kill-ring-save)
)
(if (region-active-p)
(progn
@szobov
szobov / .gitlab-ci.yaml
Created April 23, 2018 08:44
gitlab-ci.yaml elixir deploy
stages:
- init
- test
- deploy
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- deps/
- _build/