#How to use this?
View latexsub.el
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
;;; packages.el --- latexsub layer packages file for Spacemacs. | |
;; | |
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors | |
;; | |
;; Author: Adrià Garriga Alonso <adria@k9> | |
;; | |
;; This file is not part of GNU Emacs. | |
;; | |
;;; License: GPLv3 |
View natural_variational_distribution.py
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 python3 | |
import abc | |
import torch | |
from gpytorch.distributions import MultivariateNormal | |
from gpytorch.lazy import CholLazyTensor | |
from gpytorch.variational._variational_distribution import \ | |
_VariationalDistribution |
View article13-cat.txt
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
No al Filtre d'Internet de l'Article 13: Protegeixi els meus drets | |
Estimat diputat al parlament europeu [recipient last name will go here], | |
Li escric com a científic de la informació, i com a ciutadà de Catalunya que està preocupat pel futur de l'Internet. Considero que l'Internet ha de continuar tenint un caràcter obert, que ens permeti a mi i a les properes generacions fer ús les nostres llibertats fonamentals de compartir i gaudir de la informació en línia, cosa que sembla estar seriosament amenaçada. | |
La nostra llibertat es veu amenaçada pel llenguatge perillós i poc clar de l'Article 13 de la Directiva sobre Drets d'Autor, tant la versió proposta per la Comissió Europea com l'informe adaptat per la Comissió JURI. Presumptament, l'Article 13 té com a intenció protegir els creadors. A la pràctica, aquesta proposta implica la creació d'un sistema d'algoritmes per a decidir quines parts de text, àudio, vídeo, continguts compartits o imatges (fins i tot els mems) es permetran en línia. | |
Em preocupen les bar |
View a.txt
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
fdsf |
View cartpole.xml
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
<mujoco model="inverted pendulum"> | |
<compiler inertiafromgeom="true"/> | |
<default> | |
<joint pos="0 0 0" armature="0" damping="0" frictionloss="0" limited="true"/> | |
<geom pos="0 0 0" contype="0" conaffinity="0" friction="0 0 0" | |
rgba="0.7 0.7 0 1"/> | |
<tendon/> | |
<motor ctrlrange="-1 1" ctrllimited="true"/> | |
</default> | |
<option gravity="0 0 -9.81" integrator="RK4" timestep="0.02"/> |
View quine.c
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<stdio.h> | |
void f(char*b){while(*b){if(*b=='"'||*b=='\\')putchar('\\');if(*b=='\n') printf("\\n"),b++; else putchar(*b++);}} | |
void g(char *c){printf("%s", c); putchar('"'); f(c); printf("\");}\n");} | |
int main(){g("#include<stdio.h>\nvoid f(char*b){while(*b){if(*b=='\"'||*b=='\\\\')putchar('\\\\');if(*b=='\\n') printf(\"\\\\n\"),b++; else putchar(*b++);}}\nvoid g(char *c){printf(\"%s\", c); putchar('\"'); f(c); printf(\"\\\");}\\n\");}\nint main(){g(");} |
View char-rnn-tf.py
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 python2 | |
import tensorflow as tf | |
import numpy as np | |
import time | |
# Hyperparameters | |
learning_rate = 1e-1 | |
n_hidden = 100 | |
seq_length = 25 | |
n_show = 2500 // seq_length |
View current let
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
(setv test | |
(let [[a 5] | |
[b 7]] | |
(print a b))) | |
(print (type test)) |
View xmonad.hs
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
import XMonad | |
import XMonad.Config.Xfce | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Hooks.EwmhDesktops | |
import XMonad.Hooks.SetWMName | |
import qualified Data.Map as M | |
import qualified XMonad.StackSet as W |
NewerOlder