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
#!/bin/bash | |
# Install required packages | |
sudo apt update | |
sudo apt install -y \ | |
avahi-daemon \ | |
avahi-discover \ | |
samba \ | |
samba-common-bin \ |
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
diff --git a/lib/config.js b/lib/config.js | |
index 14628a23a32369116a76a512a95cc584315122f9..bca2e1dab978960e2f735306a9b69fffd7215652 100644 | |
--- a/lib/config.js | |
+++ b/lib/config.js | |
@@ -8,7 +8,7 @@ const resolve_1 = require("./resolve"); | |
const just_task_logger_1 = require("just-task-logger"); | |
const enableTypeScript_1 = require("./enableTypeScript"); | |
function resolveConfigFile(args) { | |
- for (const entry of [args.config, './just.config.js', './just-task.js', './just.config.ts', args.defaultConfig]) { | |
+ for (const entry of [args.config, './just.config.js', './just.config.cjs', './just-task.js', './just.config.ts', 'just.config.cts',args.defaultConfig]) { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>2010 Style Web Page</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; |
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
diff --git a/package.json b/package.json | |
index 18c05781ac63bb3a47e799309756e65ea88f8332..fd1fe26cc803844c4d6684e393a1099b7a04a5f0 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -24,7 +24,7 @@ | |
"engines": { | |
"node": ">=14.8.0" | |
}, | |
- "types": "/types/mod.d.ts", | |
+ "types": "../types/mod.d.ts", |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Cyberlink\ActionDirector2\UserReg] | |
"Prod_Activate"="LocalServer" |
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
#! /bin/bash | |
# Manual stuff | |
# Install gcloud sdk: https://cloud.google.com/sdk/docs/install | |
# Install firebase tools: https://firebase.google.com/docs/cli#install_the_firebase_cli | |
# Login to firebase: firebase login | |
# Login to gcloud: gcloud auth login | |
# Global variables | |
DATE=$(date +%Y-%m-%d) | |
BACKUP_FOLDER=firebase-backup-$DATE |
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
#! /bin/bash | |
# Manual stuff | |
# Install gcloud sdk: https://cloud.google.com/sdk/docs/install | |
# Install firebase tools: https://firebase.google.com/docs/cli#install_the_firebase_cli | |
# Login to firebase: firebase login | |
# Login to gcloud: gcloud auth login | |
GCLOUD_PROJECT_ID=xxxx | |
BACKUP_BUCKET=gs://backups-$GCLOUD_PROJECT_ID-firebase |
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
{ | |
"Next Typescript React Functional Component": { | |
"prefix": "fc", | |
"body": [ | |
"import { FC } from 'react';", | |
"", | |
"interface ${TM_FILENAME_BASE}Props {", | |
" $1", | |
"}", | |
"", |
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
function mp4 | |
set video_url $argv[1] | |
yt-dlp mp4 $video_url | |
end | |
function mp3 | |
set video_url $argv[1] | |
yt-dlp -x --audio-format mp3 --audio-quality 0 $video_url | |
end |
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
# Step 1: List all environment variables and store them in a variable | |
env_vars=$(vercel env ls) | |
# Step 2: Parse the output to get variable names (assuming the names are in the first column) | |
# This step can vary based on the actual output format of `vercel env ls` | |
env_var_names=$(echo "$env_vars" | awk '{if(NR>2) print $1}') | |
# Step 3: Loop through each environment variable name and remove it | |
for name in $env_var_names | |
do |
NewerOlder