I hereby claim:
- I am daniel-vera-g on github.
- I am dvg (https://keybase.io/dvg) on keybase.
- I have a public key whose fingerprint is 6801 C794 C170 906E C260 8F40 CEBB D7D1 3F1E 01E3
To claim this, I am signing this object:
/* | |
Different Methods to make code work the sync-way: | |
1. Callbacks | |
- Problem --> Callback hell | |
2. Promises | |
- Problem --> Not DRY-Method comfortable | |
3. Async/Await | |
*/ | |
/* Examples: |
I hereby claim:
To claim this, I am signing this object:
# Release at: https://github.com/lightningnetwork/lnd/releases/tag/v0.6-beta | |
# Stop lnd service | |
sudo systemctl stop lnd | |
cd /home/admin/download | |
# Get all required release files | |
wget https://github.com/lightningnetwork/lnd/releases/download/v0.6-beta/lnd-linux-armv7-v0.6-beta.tar.gz |
# Path to your dotfiles installation. | |
export DOTFILES=$HOME/.dotfiles | |
ZSH_DISABLE_COMPFIX=true | |
# CONFIG FOR Hyper | |
# IF BABUN use THIS | |
# export HOME="/cygdrive/c/Users/danielVg/" |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
windowSize: [1000, 500], | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: "stable", |
import 'package:flutter/material.dart'; | |
import 'package:english_words/english_words.dart'; | |
// Arrow functions for one line functions | |
void main() => runApp(MyApp()); | |
// Makes App itself widget -> Nearly everything is widget(alignment, padding & layout) | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { |
#include <stdio.h> | |
int main() { | |
int* p; | |
// Address pointer is pointing to | |
printf("Address pointer p is pointing to: %p\n", p); | |
// Address of pointer itself | |
printf("Address of pointer p itself: %p\n", &p); | |
int x = 3; |
#!/bin/sh | |
# Remove current toc: | |
# 1. Use sed to remove everything till the first heading | |
# 2. Write it to tmp file | |
# 3. When no errors merge it with index file | |
sed -n '/^#/,$p' index.md > tmp \ | |
&& yes | mv tmp index.md | |
# Create table of contents: |