Skip to content

Instantly share code, notes, and snippets.

View SAFAD's full-sized avatar

Sadaoui Abderrahim SAFAD

View GitHub Profile
@SAFAD
SAFAD / unlike_all_pages_facebook.md
Created February 24, 2022 20:57
How to unlike all Facebook page at once

Unlike all facebook pages 2022

Go to: https://m.facebook.com/pages/launchpoint/liked_pages

Paste the following script into console (F12 -> console):

var unlike_all = ()=> {
	[].slice.call(document.querySelectorAll('[data-sigil="action-title"')).filter(x=>x.innerText.indexOf('Unlike') !=-1).map(x=>{x.click()});
	window.scrollTo(0,document.body.scrollHeight);
	window.setTimeout(unlike_all, 3 * 1000)
LoginId:
EpicAccountId:
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 674] Array index out of bounds: 1 from an array of size 0
UE4Editor_Core!AssertFailedImplV() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:100]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:450]
UE4Editor_Engine!DispatchCheckVerify<void,<lambda_97149b9bd250c62d654825bff2da0d98> >() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Misc\AssertionMacros.h:162]
UE4Editor_Engine!USkeletalMeshComponent::ForEachBodyBelow() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\SkeletalMeshComponentPhysics.cpp:1627]
UE4Editor_Engine!UPhysicalAnimationComponent::ApplyPhysicalAnimationSettingsBelow() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysicalA
import bpy
from math import radians
context = bpy.context
scene = context.scene
vl = context.view_layer
# deselect all to make sure select one at a time
bpy.ops.object.select_all(action='DESELECT')
for obj in scene.objects:
@SAFAD
SAFAD / checkboxesVanillaNewBrowsers
Created July 27, 2014 13:26
tick all checkboxes
var inputs = document.querySelectorAll("input[type='checkbox']");
for(var i = 0; i < inputs.length; i++) {
inputs[i].checked = true;
}
@SAFAD
SAFAD / jqueryCheckboxes
Created July 27, 2014 13:24
tick all checkboxes [jQuery]
$("input[type='checkbox']").prop("checked", true);
@SAFAD
SAFAD / checkbox
Created July 27, 2014 13:15
check all checkboxes
var cbs = document.getElementsByTagName('input'); for(var i=0; i < cbs.length; i++) { if(cbs[i].type == 'checkbox') { cbs[i].checked = true; } }
@SAFAD
SAFAD / gist:9771548
Last active August 29, 2015 13:57 — forked from anonymous/gist:9771388
package server;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
/**
*
* @author Rashid
*/
@SAFAD
SAFAD / rashid
Created February 16, 2014 17:36 — forked from anonymous/rashid
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Haddadin Trading</title>
</head>
<?php include("header.php");
?>
<?php