Skip to content

Instantly share code, notes, and snippets.

@javatask
javatask / ami2-drupal.sh
Created Dec 9, 2021
User data script for AWS EC2 instance based on AMI2
View ami2-drupal.sh
#!/bin/bash
sudo yum -y update
sudo amazon-linux-extras install -y php7.4
sudo yum install -y php-cli php-pdo php-fpm php-json php-mysqlnd php-dom php-gd php-simplexml php-xml php-opcache php-mbstring httpd
wget https://www.drupal.org/download-latest/tar.gz
tar -xzf tar.gz
mv drupal-* drupal
cd drupal
sudo rsync -avz . /var/www/html
sudo chown -R apache:apache /var/www/html
View mobox-sell.json
[{"kriter1":{"aciklama":"Kriter 1: 1 Level Rare Fiyatı <= Kutu Fiyatı X %d","carpan":17}}]
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Dec 9, 2021
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Thursday, December 9, 2021, 9:29:15 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.1.1.0]: 0Harmony(2.1.1), HarmonyMod(1.1.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.1]: 0Harmony(av:2.1.1,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.1)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): CompOversizedWeapon(1.0.0), ExplosiveTrailsEffect(1.0.7140.31563), HeavyWeapons(1.0.0), KCSG(1.1.1.3), MVCF(1.0.0), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(1.0.0), RecipeInheritance(1.0.0), Reloading(1.1.0), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), VanillaWeaponsExpandedLaser(1.0.0), VFECore(av:1.1.7,fv:1.1.9), VWEMakeshift(1.0.0)
Vanilla Expanded - Ideology Patches(OskarPotocki.VanillaExpanded.IdeologyPatches): VEIP(1.0.0)
Vanilla Expanded - Royalty Patches(OskarPotocki.VanillaExpanded.RoyaltyPatches)[mv:1.1.2.0]: (no assemb
View cros-guest-tools.spec
%global hash 97e0120
%global snapshotdate 20210929
Name: cros-guest-tools
Version: 1.1
Release: %{snapshotdate}git%{hash}%{?dist}
Summary: Chromium OS integration meta package
License: BSD
URL: https://chromium.googlesource.com/chromiumos/containers/cros-container-guest-tools/
View url-example.rb
url = "https://books.toscrape.com/catalogue/page-#{i + 1}.html"
View mas552_flexistreet.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View createRandFiles.sh
#!/usr/bin/env bash
MIN=700000 #700KB
MAX=15000000 #15MB Probably
lol() {
for n in {0..100}
do
#f=`mktemp XXXXX` #if you want true random filenames
f="000"$n