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 / 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 / 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 / setting-network-headless.md
Last active June 16, 2022 13:16
Setting up preferred network a Raspberry Pi headless

Setting up preferred network a Raspberry Pi headless

This method is suitable if you don't have access to the graphical user interface normally used to set up WiFi on the Raspberry Pi.

Note also that no additional software is required; everything you need is already included on the Raspberry Pi.

Setting up wireless networking

You will need to define a wpa_supplicant.conf
Put this file in the boot Volumes

@rampfox
rampfox / damagedapp.md
Created January 4, 2020 08:30
Fix damaged app message on macOS sierra or later

Fix damaged app message on macOS sierra or later

you might have to completely disable Gatekeeper checks, and to do that open your terminal and type:

sudo spctl --master-disable

Enter your password and you’re done. Note that there are two (2) dashes before master. You might miss that while copy/pasting.

To verify that your operation was successful you need to open System Preferences and verify that the Anywhere option is now visible. system preferences > security & privacy

@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/