Skip to content

Instantly share code, notes, and snippets.

View deanet's full-sized avatar
:octocat:
talk is cheap, show me the code

deanetdavid deanet

:octocat:
talk is cheap, show me the code
View GitHub Profile
@deanet
deanet / covid.jmx
Created April 11, 2020 12:49
covid
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2.1">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="covid" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
@deanet
deanet / jmeter.jmx
Created April 11, 2020 12:04
jmeter
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.4" jmeter="2.9 r1437961">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
@deanet
deanet / file.raw
Created March 19, 2020 12:57
covid19-19032020
Kasus-1
* \">Status: Kasus-1
Usia: 3 tahun
Jenis Kelamin : Laki-laki
Kecamatan: Umbulharjo
Kabupaten/Kota: Yogyakarta
Kewarganegaraan : WNI
Menunjukan wilayah kecamatan
ODP Semanu
* Semanu : 2
root@pve:~# lvresize --extents +100%FREE --resizefs /dev/pve/root
Size of logical volume pve/root unchanged from 5.60 GiB (1433 extents).
Logical volume root successfully resized
resize2fs 1.42.12 (29-Aug-2014)
The filesystem is already 1467392 (4k) blocks long. Nothing to do!
root@pve:~# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 5.5G 2.4G 2.9G 46% /
Get:206 http://download.proxmox.com/debian/pve/ jessie/pve-no-subscription spiceterm amd64 2.0-3 [49.0 kB]
Get:207 http://download.proxmox.com/debian/pve/ jessie/pve-no-subscription novnc-pve amd64 0.5-9 [183 kB]
Get:208 http://ftp.debian.org/debian/ jessie/main ncurses-term all 5.9+20140913-1+deb8u3 [454 kB]
Get:209 http://download.proxmox.com/debian/pve/ jessie/pve-no-subscription pve-docs all 4.4-4 [3,556 kB]
Get:210 http://ftp.debian.org/debian/ jessie/main procmail amd64 3.22-24+deb8u1 [140 kB]
Get:211 http://ftp.debian.org/debian/ jessie/main w3m amd64 0.5.3-19+deb8u2 [1,006 kB]
Get:212 ht
9JCmjMl7Uq3H6@
@deanet
deanet / ARM64-2GB-FR.txt
Last active August 10, 2019 14:32
unix benchmark scaleway
Double-Precision Whetstone 7147.0 MWIPS (10.0 s, 7 samples)
Execl Throughput 2846.0 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 188022.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 46151.3 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 626948.7 KBps (30.0 s, 2 samples)
Pipe Throughput 1726306.7 lps (10.0 s, 7 samples)
Pipe-based Context Switching 103884.0 lps (10.0 s, 7 samples)
Process Creation 4666.3 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5721.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 733.9 lpm (60.2 s, 2 samples)
@deanet
deanet / ceph.conf
Created July 17, 2019 10:50
ceph openstack rocky
[global]
fsid = ac9b148c-e413-48ae-8adc-93a5cca6e88a
mon_initial_members = ceph1
mon_host = 10.10.2.205
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
osd pool default size = 2
osd pool default min size = 1
# basic pfctl control
# ==
# Related: http://www.OpenBSD.org
# Last update: Tue Dec 28, 2004
# ==
# Note:
# this document is only provided as a basic overview
# for some common pfctl commands and is by no means
# a replacement for the pfctl and pf manual pages.
// ==UserScript==
// @name Whatsapp
// @namespace graphen
// @version 2.0
// @description Add button and hotkey to hide contact names and avatars on web.whatsapp.com
// @author Graphen
// @match https://web.whatsapp.com/
// @icon https://i.imgur.com/LeZuNg7.png
// @grant none
// ==/UserScript==