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
function doPost(e) { | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Contacts'); //Change Sheet Name | |
var jsonData = JSON.parse(e.postData.contents); | |
var first_name = jsonData.first_name || ''; | |
var last_name = jsonData.last_name || ''; | |
var full_name = jsonData.full_name || ''; | |
var email = jsonData.email || ''; | |
var phone = jsonData.phone || ''; |
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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
function gmailAutoarchive() { | |
var threads = GmailApp.search("in:inbox label:autoarchive older_than:1d"); | |
Logger.log("found " + threads.length + " threads:"); | |
for(var i = 0; i < threads.length; i++) { | |
var thread = threads[i]; | |
Logger.log((i+1) + ". " + thread.getFirstMessageSubject()); | |
} | |
var batch_size = 100; |
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 comments = document.querySelectorAll("yt-formatted-string#content-text"); | |
comments.forEach((comment) => { | |
const commentText = comment.innerText; | |
const plainTextComment = commentText.replace(/<[^>]*>/g, ""); | |
console.log(plainTextComment); | |
}); | |
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
import requests | |
import csv | |
import time | |
server_login = 'YourUserName' | |
server_pass = 'YourPassword/LoginKey' | |
endpoint_url = 'AddSevrerURLHereWithPort' + '/CMD_EMAIL_POP' #Change the first part to he URL of the server you recoeved after sign up. | |
headers={"Content-Type": "application/x-www-form-urlencoded",} | |
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 | |
# Install Openbox | |
pacman -S openbox obconf nitrogen lxappearance --noconfirm | |
# Install panel and dock, file manager, and terminal | |
pacman -S tint2 plank pcmanfm xfce4-terminal gedit git --noconfirm | |
# Install X SERVER | |
pacman -S --needed xorg-server xorg-xinit --noconfirm |
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
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@type": "BlogPosting", | |
"mainEntityOfPage": { | |
"@type": "WebPage", | |
"@id": "https://example.com/blog-post" | |
}, | |
"headline": "Optimizing Your Blog for Search Engine Rankings", | |
"datePublished": "2023-03-23T12:00:00-07:00", |
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
from bs4 import BeautifulSoup | |
import requests, csv | |
import lxml | |
from requests.structures import CaseInsensitiveDict | |
ads = [] | |
key = input("Enter a keyword/domain/brand: ") | |
headers = CaseInsensitiveDict() | |
headers["authority"] = "www.google.com" |
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
addEventListener("fetch", event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
let body = {}; | |
async function handleRequest(request) { | |
let content = "just drop if it fails...okay ?"; | |
for( var i of request.headers.entries() ) { | |
content += i[0] + ": " + i[1] + "\n"; | |
} | |
let respContent = ""; |
NewerOlder