In the following you can find small introductions to my meetups
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
const allViewedCheckbox = document.getElementsByClassName('mr-1 js-reviewed-checkbox') | |
for(viewedCheckbox of allViewedCheckbox) { | |
if (viewedCheckbox.checked) { | |
viewedCheckbox.click() | |
} | |
} |
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
# Run this bash file inside of mmctl directory or replace ./mmctl with the path to mmctl | |
for i in {1..100} | |
do | |
# First command creates a channel with user included in the channel | |
./mmctl channel create --team XXXTeamNameXXX --display-name "${i}-channel" --name "${i}-channel" | |
# Second command removes all the users from the created channel | |
./mmctl channel users remove "XXXTeamNameXXX:${i}-channel" --all-users | |
done |
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 | |
#title :generate-custom-emojis.sh | |
#description :This script create 4000 custom emojis in mattermost. | |
#authors :saturninoabril,m-zubairahmed | |
#version :0.2 | |
#notes :Replace token and creator id with your own. | |
# e.g. TOKEN="xgqkaquaii8cz8pqqak5jsfm8c" | |
TOKEN="XX" |
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 | |
SLEEP_TIME=1 | |
NUM_OF_MESSAGES=100 | |
PACK=$RANDOM | |
echo "Sending continous messages with wait time of ${SLEEP_TIME} seconds between each message" | |
for (( i=1; i<=$NUM_OF_MESSAGES; i++ )) | |
do |
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
// Save the console function in the console once | |
(function (console) { | |
console.save = function (data, filename) { | |
if (!data) { | |
console.error('Console.save: No data') | |
return | |
} | |
if (!filename) { | |
filename = 'console.json' |
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
// Edit the classname of the connect button on Linkedin | |
const connectButtonClassname = "full-width artdeco-button artdeco-button--2 artdeco-button--full artdeco-button--secondary ember-view" | |
const allButtons = document.getElementsByClassName(connectButtonClassname) | |
const allButtonsArray = Array.from(allButtons) | |
if (allButtonsArray.length > 0){ | |
allButtonsArray.forEach(function(button){ | |
if (button.innerText === "Connect"){ |
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
/** | |
* This method is for encription of text. | |
* @param s The input text which is to be encrypted | |
* @param shift The initial key value to be executed at the first | |
* letter of the text. | |
* @param incremental The number by which the value of key is increased. | |
* @return The encrypted text is returned. | |
**/ | |
public static String movingShift(String s, int shift, int incremental){ |
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
[ | |
{ | |
"endpoint": "/api/exercise/new-user", | |
"method": "POST", | |
"postdata": { | |
"username": "" | |
}, | |
"returndata": { | |
"_id": "", | |
"username": "" |
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
$spacing-scale: ( | |
"-0": 0px, | |
"": 1px, | |
"half": 0.125rem, | |
"-1": 0.25rem, | |
"1half": 0.375rem, | |
"-2": 0.5rem, | |
"2half": 0.625rem, | |
"-3": 0.75rem, | |
"3half": 0.875rem, |
NewerOlder