Based on:
- I assume that
/dev/nvme0n1
is the system's disk, and/dev/sda
is USB drive.
Based on:
/dev/nvme0n1
is the system's disk, and /dev/sda
is USB drive.#!/bin/sh | |
# vim: set ft=sh sw=4 et : | |
yay -S --noconfirm yadm | |
yadm clone https://github.com/guemidiborhane/dotfiles.git -b yadm -f | |
yadm restore --staged $HOME | |
yadm checkout -- $HOME | |
yadm bootstrap |
From 8fd6114648a02e92cfeccd8be1c0bbefa7ce6db7 Mon Sep 17 00:00:00 2001 | |
From: Borhaneddine GUEMIDI <[email protected]> | |
Date: Fri, 11 Jun 2021 03:09:36 +0100 | |
Subject: [PATCH] :sparkles: Add kitty as shell option | |
--- | |
app/src/lib/shells/linux.ts | 11 +++++++++++ | |
1 file changed, 11 insertions(+) | |
diff --git a/app/src/lib/shells/linux.ts b/app/src/lib/shells/linux.ts |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
static const char *alpha[] = { | |
".-", //A | |
"-...", //B | |
"-.-.", //C | |
"-..", //D |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
#define MAX_STR_SIZE 20 | |
#define PERSONS_TO_SAVE_FILE "evacuation_plan.txt" | |
enum zipcode |
#include <stdio.h> | |
int main(void) { | |
int a,b, op; | |
op = 5; | |
printf("Enter the value of A: "); | |
scanf("%i", &a); | |
printf("Enter the value of B: "); | |
scanf("%i", &b); |
(function (file) { | |
var fs = require('fs'), | |
_ = require('underscore'); | |
if (fs.existsSync(file)) { | |
_.mixin({ | |
deepExtend: require('underscore-deep-extend')(_) | |
}); | |
_.deepExtend(elixir.config, JSON.parse(fs.readFileSync(file, 'utf8'))); |
let obj = {} | |
let file = require('fs').readFileSync(__dirname + '/../../../../.js.env', 'utf8') | |
file.toString().split('\n').forEach(function (line) { | |
// matching "KEY' and 'VAL' in 'KEY=VAL' | |
var keyValueArr = line.match(/^\s*([\w\.\-]+)\s*=\s*(.*)?\s*$/) | |
// matched? | |
if (keyValueArr != null) { | |
var key = keyValueArr[1] | |
// default undefined or missing values to empty string |
Elixir = require('laravel-elixir') | |
config = Elixir.config | |
browserify = require('browserify') | |
gulp = require('gulp') | |
source = require('vinyl-source-stream') | |
path = require('path') | |
coffeeify = require('coffeeify') | |
### | |
# This task run the given coffee files through browserify |
#!/bin/bash | |
# | |
# Usage: tmuxme | |
# creates a tmux session with the name of the current directory | |
# if the current directory is a rails project, sets up 3 windows: | |
# server, console, and vim. | |
# | |
SESSION=$(basename $(pwd)) |