start new:
tmux
start new with session name:
tmux new -s myname
// Define start and end dates | |
const start_date = new Date(2024, 6, 8); // month - 1 | |
const end_date = new Date(2024, 6, 8); // month - 1 | |
// your organization prefix for the url: | |
const company = "initech" | |
// include your employee id from bamboo | |
const employee_id = 1146; | |
// your project id from bamboo | |
const project_id = 17; |
-- Debugger | |
{ | |
"mfussenegger/nvim-dap", | |
dependencies = { | |
-- fancy UI for the debugger | |
{ | |
"rcarriga/nvim-dap-ui", | |
-- stylua: ignore |
/******* | |
* This google apps scripts takes input from slack slash command and posts it to a google sheet. | |
* Lots of this came from various resources from the googles. Thx to all of those out there that provided instruction. | |
* If you see something of yours below, please comment and I'll add a link to your reference. | |
*********/ | |
function doPost(req) { | |
var params = req.parameters; |
# https://support.google.com/chrome/answer/1649523?hl=ja | |
wget -N http://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb | |
wget -N https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
sudo dpkg -i chrome-remote-desktop_current_amd64.deb | |
sudo apt-get install -f | |
cat /usr/share/xsessions/*.desktop | fgrep Exec= | cut -d= -f2- > $HOME/.chrome-remote-desktop-session | |
echo export CHROME_REMOTE_DESKTOP_DEFAULT_DESKTOP_SIZES=1366x768 | sudo tee /etc/profile.d/chromeremote.sh |
.gform_wrapper ul { | |
padding-left: 0; | |
list-style: none; } | |
.gform_wrapper li { | |
margin-bottom: 15px; } | |
.gform_wrapper form { | |
margin-bottom: 0; } |
# This file is a reference script for the blog post | |
# http://jonathonhill.net/2012-11-29/roll-your-own-mamp-development-environment/, | |
# and is not intended to be run as a stand-alone install script. | |
# Some manual steps will be required, please read the blog post before attempting | |
# to use this script. | |
# Tutorial: | |
# http://mac.tutsplus.com/tutorials/server/upgrading-the-native-php-installation-on-os-x-mountain-lion/ | |
# Download and install XQuartz from http://xquartz.macosforge.org/ |
var f='write.txt', | |
fs=require('fs'); | |
fs.writeFile(f,'Some text to write.',function(err){ | |
if(err) | |
console.error(err); | |
console.log('Written!'); | |
}); | |
fs.appendFile(f,'Some more text to append.',function(err){ |
#!/bin/bash | |
# store the current dir | |
CUR_DIR=$(pwd) | |
# Let the person running the script know what's going on. | |
echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n" | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find . -name ".git" | cut -c 3-); do |
/* If you've ever had the need to link directly to an open modal window with Bootstrap, here's a quick and easy way to do it: | |
Make sure your modal has an id: | |
<div class="modal" id="myModal" ... > | |
Then stick this bit of Javascript at at the end of your document: | |
*/ | |
$(document).ready(function() { |