Skip to content

Instantly share code, notes, and snippets.

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

rampfox

🏠
Working from home
View GitHub Profile
@rampfox
rampfox / Chromium-at-startup.md
Last active April 26, 2024 11:56
How to open Chromium in full screen at startup on the Raspberry Pi

First, it seems that ~/.config/lxsession/LXDE-pi/autostart does not exist by default.

  1. copy the autostart
cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi/
@rampfox
rampfox / TNT’s certificate.md
Last active April 21, 2024 12:26
If Crashes when opening Mac Cracked Apps

Apple removed TNT’s certificate, so the app will crash after July 12th. The current solution is to sign it yourself.

Run in Terminal

codesign --force --deep --sign - /Applications/name.app

if Permission denied don't forget to add sudo

example:

@rampfox
rampfox / Spoof-location-on-iOS-12.5.7-using-Locsim.md
Last active November 10, 2023 01:28
How to spoof location / fake gps on iOS 12.5.7 using Locsim | tested on jailbroken iPhone 6 with chimera

first things first

  • this is for jailbroken device only
  • tested on iOS 12.5.7 with iPhone 6 & ipad air 1
  • jailbreak using chimera

How to spoof location on iOS 12.5.7 using Locsim

a tweak from udevsharold

@rampfox
rampfox / FortiClient-vpn-no-updates-found-error.md
Last active August 31, 2023 07:31
FortiClient no updates found error while try to reinstall from scratch | MacOS

FortiClient "No updates found" error

I tried to reinstall FortiClient VPN for MacOS from beginning using FortiClientVPNOnlineInstaller_7.0 but the system said No updates found

dmallam5


Remove the following directories on your Mac:

sudo rm -rf /Library/Application Support/Fortinet

@rampfox
rampfox / my personal Cronjob.md
Last active July 15, 2023 01:16
Cronjob for my raspberry pi

What is a Cron Job?

Cron is a utility program for repeating tasks at a later time. Giving a command that schedules a task, at a specific time, repeatedly is a cron job.


to edit a crontab file of the current user, type the following command in the terminal:

crontab -e

to remove the current crontab file of the current user, type the following command:

@rampfox
rampfox / Sideloadly-Error.md
Last active April 3, 2023 07:34
Sideloadly Error windows 10, Guru Meditation [Errno 22]

Sideloadly Error windows 10

Guru Meditation [Errno 22]

the error showed in screen

ERROR: Guru Meditation 8d61e2@1069:2d389a [Errno 22] Invalid argument


@rampfox
rampfox / xdotool.md
Created December 24, 2021 13:44
xdotool - A macro mouse and keyboard for raspberry pi

xdotool - command-line X11 automation tool


A macro mouse and keyboard for raspberry pi

xdotool lets you programatically (or manually) simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11's XTEST extension and other Xlib functions.

how to install

in terminal:

@rampfox
rampfox / FaceTime Camera.md
Last active November 23, 2022 04:13
Fixing Error with a Mac FaceTime Camera

Fixing Error with a Mac FaceTime Camera

“There is no connected camera” problem

No Connected Camera???


Solution 1

@rampfox
rampfox / prevent-chromium-extension-to-auto-update.md
Last active November 7, 2022 07:56
How to prevent / stop Chromium Extension to Auto Update on raspberry pi

How to prevent / stop Chromium Extension to auto update

Im Using Raspberry Pi 3B+ with Raspbian Buster (Debian version: 10)

You can do this by editing chromium profile preferences file:
  1. On Terminal: ${HOME}/.config/chromium/Profile 3/Preferences
cd ~/.config/chromium/Profile\ 3/
@rampfox
rampfox / increase SWAP size in Raspberry Pi.md
Created June 24, 2022 02:40
tutorial How increase SWAP memory size in Raspberry Pi

increase SWAP size in Raspberry Pi

What is SWAP memory?

SWAP memory is basically parts of memory from the RAM (Random Access Memory) that enables an operating system to provide more memory to a running application or process than is available in physical random access memory (RAM). So if the physical memory (RAM) is full, we can use SWAP partition for extra memory resources. It is useful if we have low memory on our machine.

Step 1: Stop the SWAP

sudo dphys-swapfile swapoff