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
ls /var/lib/initramfs-tools | \ | |
sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start |
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
const { exec } = require('child_process') | |
const path = require('path') | |
const glob = require('glob').sync | |
const bumpDeps = async (depsList, dev = false, workspace) => { | |
await new Promise((resolve, reject) => { | |
const _workspace = workspace ? `workspace ${workspace}` : '-W' | |
const _devFlag = dev ? '-D' : '' | |
const cmd = `yarn ${_workspace} add ${_devFlag} ${Object.keys(depsList).join(' ')}` |
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
const VodafoneUrl = "http://192.168.0.1"; | |
const Username = "admin"; | |
const Password = "password"; | |
const { | |
fill, | |
createBrowser, | |
elementExists, | |
waitAndClick, | |
} = require("./puppeteer"); |
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
<?php declare(strict_types=1); | |
namespace App\Templating; | |
use Nette\Application\UI\Presenter; | |
use Nette\Utils\FileSystem; | |
class TemplateHelper | |
{ |
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
for bin in *; do ln -s "/opt/jdk-17.0.2+8/bin/$bin" "/usr/bin/$bin"; done |
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
<?php declare(strict_types=1); | |
ini_set('auto_detect_line_endings', true); | |
// Utility code | |
interface Processor | |
{ | |
/** | |
* @param resource|string $source | |
*/ |
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
<?php declare(strict_types=1); | |
namespace App\Facades; | |
use Illuminate\Contracts\Hashing\Hasher; | |
use Illuminate\Support\Facades\Facade; | |
use Illuminate\Support\Str; | |
/** | |
* Hasher implementation that supports |
OlderNewer