I hereby claim:
- I am datio on github.
- I am datio (https://keybase.io/datio) on keybase.
- I have a public key ASAHBbxlPM2Cn5Vmq8Tn2cmr9-_73jw3u-s2U6MRprVuUQo
To claim this, I am signing this object:
| pnpm build | |
| cd .svelte | |
| find -name "*svelte*" -exec rename 's/svelte-/custom-/' {} ";" | |
| find -name "*svelte*" -exec rename 's/Svelte-/Custom-/' {} ";" | |
| find . -type f -name "*" -print0 | xargs -0 sed -i 's/svelte-/custom-/g' | |
| find . -type f -name "*" -print0 | xargs -0 sed -i 's/Svelte-/Custom-/g' | |
| sed -i 's/id="svelte"/id="custom"/g' output/server/app.js |
| # https://stackoverflow.com/questions/45833873/enable-win10-inbuild-hotspot-by-cmd-batch-powershell/60444585#answer-60444585 | |
| [Windows.System.UserProfile.LockScreen,Windows.System.UserProfile,ContentType=WindowsRuntime] | Out-Null | |
| Add-Type -AssemblyName System.Runtime.WindowsRuntime | |
| $asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0] | |
| Function Await($WinRtTask, $ResultType) { | |
| $asTask = $asTaskGeneric.MakeGenericMethod($ResultType) | |
| $netTask = $asTask.Invoke($null, @($WinRtTask)) | |
| $netTask.Wait(-1) | Out-Null | |
| $netTask.Result |
| // make sure you have changed your working directory to your project | |
| cd app | |
| // svelte | |
| // see https://github.com/sveltejs/svelte/issues/2900#issuecomment-701644971 | |
| npm install svelte | |
| sed -i 's/svelte-\$/_$/g' ./node_modules/svelte/compiler.js | |
| // sapper | |
| npm install sapper |
I hereby claim:
To claim this, I am signing this object:
| UPDATE xf_user | |
| SET secondary_group_ids = CONCAT(user_group_id, ',', secondary_group_ids) | |
| WHERE LENGTH(secondary_group_ids) > 0 | |
| AND user_group_id <> 2; | |
| UPDATE xf_user | |
| SET secondary_group_ids = user_group_id | |
| WHERE secondary_group_ids = '' | |
| AND user_group_id <> 2; |
| <?php | |
| namespace Datio\WeightixCli\Cli\Command\Misc; | |
| use Symfony\Component\Console\Command\Command; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| class UserLogin extends Command |
| FROM php:apache | |
| RUN apt update && apt upgrade -y && apt-get autoremove -y \ | |
| && apt install -y libfreetype6-dev && apt install -y libpng-dev \ | |
| && apt install -y libjpeg62-turbo-dev && apt install -y libxml2-dev \ | |
| && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ | |
| && docker-php-ext-install gd && docker-php-ext-install mysqli && docker-php-ext-install zip && docker-php-ext-install xml \ | |
| && a2enmod rewrite \ | |
| && yes | pecl install xdebug \ | |
| && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ | |
| && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ |
| <?php | |
| // RewriteCond %{REQUEST_URI} forum/local_links.php | |
| // RewriteRule ^.*$ vbdm2xf.php [NC,L] | |
| $startTime = microtime(true); | |
| $fileDir = '/var/www/html'; | |
| require($fileDir . '/library/XenForo/Autoloader.php'); | |
| XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library'); |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "path/filepath" | |
| "regexp" | |
| "sort" | |
| "strings" |