start new:
tmux
start new with session name:
tmux new -s myname
package main | |
import ( | |
"io/ioutil" | |
"os/exec" | |
"fmt" | |
) | |
// EXAMPLE: echo "Subject: TestnHello" | sendmail -f [email protected] [email protected] | |
// Useful Links: https://gobyexample.com/spawning-processes |
Based on Abdelrahman Omran PWA presentation, and Google PWA Codelab
<?php | |
class BusinessDayPeriodIterator implements \Iterator | |
{ | |
private $current; | |
private $period = []; | |
public function __construct(\DatePeriod $period) { | |
$this->period = $period; | |
$this->current = $this->period->getStartDate(); | |
if(!$period->include_start_date){ |
import React from 'react' | |
import { BrowserRouter as Router, Switch } from 'react-router-dom' | |
import routes from './routes' | |
import FancyRoute from './components/tools/FancyRoute' | |
const App = props => | |
<Router> | |
<Switch> | |
{routes.map((route, i) => | |
<FancyRoute key={i} {...route} /> |
The IronMon challenge is a Pokémon Randomizer Challenge run created by iateyourpie. Designed to make experiencing the randomizer fun and challenging, while taking away the wild Pokémon grind that come with some other challenges. It was originally made for Fire Red / Leaf Green but the rules can be applied/adjusted for other games as well. If you're interested to find out more about IronMon, join our Discord community!
IronMon has varying levels of difficulties, to keep it more approachable but also provide the toughest challenge possible for those who want it.
#!/bin/sh | |
# Remove the performance overlay, it meddles with some tasks | |
unset LD_PRELOAD | |
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper | |
## whilst being launched by plasma-session | |
mkdir $XDG_RUNTIME_DIR/nested_plasma -p | |
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper | |
#!/bin/sh |
#!/usr/bin/env sh | |
# | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# Licensed under the MIT License. See License.txt in the project root for license information. | |
if [ "$VSCODE_WSL_DEBUG_INFO" = true ]; then | |
set -x | |
fi | |
COMMIT="abd2f3db4bdb28f9e95536dfa84d8479f1eb312d" | |
APP_NAME="code" |
This has migrated over to https://github.com/cheahjs/palworld-save-tools.
Old versions of the script hosted here can be found from the revisions list: https://gist.github.com/cheahjs/300239464dd84fe6902893b6b9250fd0/revisions