I hereby claim:
- I am andrzejsliwa on github.
- I am andrzejsliwa (https://keybase.io/andrzejsliwa) on keybase.
- I have a public key whose fingerprint is 417D 3556 FCE6 AA43 B09C 74EB 7502 2EB3 BF5D D619
To claim this, I am signing this object:
More recent resolution: | |
1. cd ~/../../etc (go to etc folder in WSL). | |
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line). | |
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line). | |
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian). | |
5. cd ~/../../etc (go to etc folder in WSL). | |
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file). | |
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and | |
secondary. |
#include <c64.h> | |
#include <stdio.h> | |
unsigned byte* const SCREEN = (char*)$0400; | |
void main() { | |
fillscreen(SCREEN, $20); | |
charset(); | |
} |
[~/c64_learning]$ ./gradlew test rvm:ruby-2.6.6 | |
> Task :downloadDeps | |
Unable to get progress logger. Download progress will not be displayed. | |
Unable to get progress logger. Download progress will not be displayed. | |
Unable to get progress logger. Download progress will not be displayed. | |
Unable to get progress logger. Download progress will not be displayed. | |
Unable to get progress logger. Download progress will not be displayed. | |
> Task :asmSpec |
[~/c64_learning]$ x64 -warp -autostart /Users/andrzejsliwa/c64_learning/spec/example.spec.prg -console -jamaction 5 -autostartprgmode 0 -moncommands /Users/andrzejsliwa/c64_learning/spec/example.spec.vs -chdir /Users/andrzejsliwa/c64_learning/spec | |
opening dynamic library libavformat.57.dylib failed! error: dlopen(libavformat.57.dylib, 5): image not found | |
*** VICE Version 3.1 *** | |
OS compiled for: MacOS Sierra (10.12) | |
GUI compiled for: SDL2 | |
CPU compiled for: x86_64 | |
Compiler used: clang 8.1.0 | |
Current OS: *nix | |
Current CPU: Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom |
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
I hereby claim:
To claim this, I am signing this object:
module Database | |
open FSharp.Data | |
open FSharp.Data.Npgsql | |
[<Literal>] | |
let example = "Host=localhost;Username=postgres;Database=example;Port=5432" | |
type Example = NpgsqlConnection<example> |
(require '[clojure.string :as s]) | |
(declare print-maze) | |
;; Maze GENERATION | |
(defn create-grid [rows cols] | |
(vec (repeat rows (vec (repeat cols #{}))))) | |
(defn north-of [[row col]] [(dec row) col]) | |
(defn south-of [[row col]] [(inc row) col]) |
// General hints on defining types with constraints or invariants | |
// | |
// Just as in C#, use a private constructor | |
// and expose "factory" methods that enforce the constraints | |
// | |
// In F#, only classes can have private constructors with public members. | |
// | |
// If you want to use the record and DU types, the whole type becomes | |
// private, which means that you also need to provide: | |
// * a constructor function ("create"). |
function repl { | |
current_month=`date +%Y-%m-%B` | |
filepath="$HOME/Documents/repl-$current_month.cljc" | |
if [ ! -f $filepath ]; then | |
touch $filepath | |
fi | |
echo "; `date`" >> $filepath | |
line=`grep --regexp="$" --count "$filepath"` | |
idea $filepath:$line | |
} |