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
#!/bin/bash | |
# set some emblems | |
# currently supported: | |
# * phpstorm | |
# * git | |
# * rslsync (Resilio Sync / Bittorrent Sync / btsync) | |
# check parameters | |
if [ -z "$1" ]; then | |
echo "Missing parameter <type>."; |
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
#!/bin/bash | |
# remove old backups keeping only the latest one | |
# run this script only in your TitaniumBackup folder !!! | |
# create this folder first! | |
target=old | |
# pipe|separated|list | |
exclude="this.is.an.example.org.mozilla.firefox" | |
# | get app IDs |
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
# /etc/systemd/system/iperf3.service | |
# User service: $HOME/.config/systemd/user/iperf3.service | |
[Unit] | |
Description=iperf3 server | |
After=syslog.target network.target auditd.service | |
[Service] | |
ExecStart=/usr/bin/iperf3 -s |
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
#!/bin/bash | |
# Author: https://gist.github.com/auipga/ | |
# Based on: | |
# Sync (outdated?): https://kb-archive.getsync.com/kbs/1.3.5/kb/hc/en-us/articles/210153106-Ports-and-protocols-used-by-Resilio-Connect.html | |
# Resilio Connect: https://help.getsync.com/hc/en-us/articles/204754759-What-ports-and-protocols-are-used-by-Sync- | |
# todo: read sync.conf from resilio server, parse json, fill IPs dynamically | |
# todo: delete duplicate rules as 'host' returns multiple IPs for resilios domains |
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
#!/bin/bash | |
# see http://kb.mozillazine.org/Register_protocol#Linux | |
gconftool-2 -s /desktop/gnome/url-handlers/btsync/command "`which rslsync` %s" --type String | |
gconftool-2 -s /desktop/gnome/url-handlers/btsync/enabled --type Boolean true | |
# get default profile path | |
ff_profile=$(cat ~/.mozilla/firefox/profiles.ini | grep Path | sed s/^Path=//) | |
ff_profile_dir="~/.mozilla/firefox/$ff_profile" |
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
# custom PhpStorm properties | |
idea.config.path=~/.PhpStorm/config | |
idea.system.path=~/.PhpStorm/system | |
idea.plugins.path=~/.PhpStorm/plugins | |
idea.log.path=~/.PhpStorm/log | |
apple.laf.useScreenMenuBar = true |
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
#!/usr/bin/env bash | |
# see http://symfony.com/doc/3.4/setup/file_permissions.html | |
function show_help | |
{ | |
# General help text | |
cat << EOF | |
Script for Setting up or Fixing File Permissions for Symfony applications | |
Usage: sfperm <option> |
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] | |
memory_limit = -1 | |
max_execution_time = 0 | |
date.timezone = "Europe/Prague" | |
realpath_cache_size = "4096K" | |
extension=iconv.so | |
[opcache] | |
opcache.enable = 1 | |
opcache.enable_cli = 1 |
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 | |
namespace Vendor\TestBundle\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* General class for all entities. | |
*/ |
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
# to be pasted in uBlock -> Settings -> My Filters | |
www.immobilienscout24.de##.border.background.padding.removalcost-calculator-in-content | |
www.immobilienscout24.de##.border.grid-align-center.grid-flex.grid | |
www.immobilienscout24.de###propertybook_and_hub | |
www.immobilienscout24.de##.lap-one-whole.desk-one-third.grid-item | |
www.immobilienscout24.de##.one-whole.border-top.padding-top-l.margin-top-l.criteriagroup | |
www.immobilienscout24.de##.palm-margin-top-xl.palm-one-whole.one-half.grid-item > div > .section.sourcecode | |
www.immobilienscout24.de###stripe | |
www.immobilienscout24.de##.relocation-costs-comparison.print-hide span.with-icon:nth-of-type(4) | |
www.immobilienscout24.de##.premiumStatsFixedHeight |
OlderNewer