Skip to content

Instantly share code, notes, and snippets.

Márk Török torokmark

Block or report user

Report or block torokmark

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View init.sh
#!/usr/bin/env bash
sudo apt install python -y
yes '' | sudo apt-add-repository ppa:ansible/ansible
sudo apt update
sudo apt install ansible -y
sudo apt install git -y
@torokmark
torokmark / remove_recurring_all_day_events_from_google_calendar.js
Created May 1, 2017
remove recurring all day events from google calendar
View remove_recurring_all_day_events_from_google_calendar.js
function main() {
getEventSeries();
}
function getEventSeries() {
var calendar = CalendarApp.getCalendarById("email-address");
for (var month = 0; month < 13; month += 1) {
var date = new Date(2012, month, 1);
var eventsOnDay = calendar.getEvents(new Date(2012, date.getMonth() , 1), new Date(2012, date.getMonth() + 1, 0));
for (var ej = 0; ej < eventsOnDay.length; ej += 1) {
@torokmark
torokmark / jenkins-commands.txt
Created Apr 7, 2017
Jeninks 2.32.1 CLI Commands
View jenkins-commands.txt
add-job-to-view
Adds jobs to view.
build
Builds a job, and optionally waits until its completion.
cancel-quiet-down
Cancel the effect of the "quiet-down" command.
clear-queue
Clears the build queue.
connect-node
Reconnect to a node(s)
View docker
$ docker --help
$ docker run --help
$ docker-machine ls
$ docker-machine start default
$ docker-machine rm default
$ docker-machine create default --driver virtualbox
$ eval $("C:\Program Files\Docker Toolbox\docker-machine.exe" env default)
View test_import_http.sh
#!/usr/bin/env bash
test_import_http_func() {
echo "test_import_http_func is called";
}
View .gitconfig
[user]
name =
email =
[push]
default = matching
[color]
ui = auto
[color "branch"]
current = yellow bold
You can’t perform that action at this time.