Skip to content

Instantly share code, notes, and snippets.

View webdelin's full-sized avatar
🏠
Working from home

Wendelin Gerein webdelin

🏠
Working from home
View GitHub Profile
@webdelin
webdelin / gist:cd4a4670cebd777aed453c1579034658
Created March 10, 2021 06:57
peerjs work Chrome 89 -> Safari and Edge 89 -> Safari
parcelRequire = (function(e, r, t, n) {
var i,
o = "function" == typeof parcelRequire && parcelRequire,
u = "function" == typeof require && require;
function f(t, n) {
if (!r[t]) {
if (!e[t]) {
var i = "function" == typeof parcelRequire && parcelRequire;
if (!n && i) return i(t, !0);
if (o) return o(t, !0);
const nodemailer = require('nodemailer')
const transporter = nodemailer.createTransport({
service: 'gmail',
auth: {
user: 'in@gmail.com',
pass: 'passPASS'
}
});
const mailOptions = {
from: 'ext@gmail.com', // sender address
sudo woeusb -d /home/wendelin/Downloads/Win10_1809Oct_German_x64.iso /dev/sdd --tgt-fs ntfs
@webdelin
webdelin / custom.js
Created January 22, 2018 20:27
ScrolToTop-JS
var back_to_top_button = ['<a title="zum Menu" href="#" class="scrollToTop"><i class="ion-chevron-up" aria-hidden="true"></i></a>'].join("");
$("body").append(back_to_top_button)
// Der Button wird ausgeblendet
$(".scrollToTop").hide();
// Funktion für das Scroll-Verhalten
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 300) { // Wenn 100 Pixel gescrolled wurde
@webdelin
webdelin / evb-script.js
Created January 22, 2018 20:26
ScrollToTop-JS
var back_to_top_button = ['<a title="zum Menu" href="#top" class="scrollToTop bg-primary">TOP</a>'].join("");
$("body").append(back_to_top_button)
// Der Button wird ausgeblendet
$(".scrollToTop").hide();
// Funktion für das Scroll-Verhalten
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 300) { // Wenn 100 Pixel gescrolled wurde
@webdelin
webdelin / grid.css
Created January 22, 2018 20:25
ScrollToTop-CSS
.scrollToTop{
position: fixed;
width: 40px;
bottom: 40px;
right: 40px;
height: 40px;
line-height: 40px;
background-color: #ea5b0c;
text-align: center;
color: #fff!important;
{ "keys": ["alt+shift+f"], "command": "reindent" },
{
"show_definitions": false,
"auto_complete": false,
"bold_folder_labels": true,
"color_scheme": "Packages/One Dark Material - Theme/schemes/OneDark.tmTheme",
"fold_buttons": true,
"font_size": 13,
"highlight_line": true,
"indent_guide_options":
[