Skip to content

Instantly share code, notes, and snippets.


XFCE Desktop


How to install XFCE Desktop Environment in Kali Linux:

Command:

apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:

Command:

Install libimobiledevice on Mac OS X
So you'd like to manage your iOS devices by command line?
You can use libimobiledevice tools for that.
Easy on Linux. Let's see how it is on Mac OS X.
You'll need to:
1. install Xcode
2. start Xcode and agree to it's license
3. install Xcode command line tools (Start Xcode, Go to Preferences -> Downloads tab)
4. install homebrew by this command (sudo password will be prompted)
@alphanu1
alphanu1 / gcc compiler optimization for arm systems.md
Created May 23, 2021 14:33 — forked from fm4dd/gcc compiler optimization for arm systems.md
GCC compiler optimization for ARM-based systems

GCC compiler optimization for ARM-based systems

2017-03-03 fm4dd

The gcc compiler can optimize code by taking advantage of CPU specific features. Especially for ARM CPU's, this can have impact on application performance. ARM CPU's, even under the same architecture, could be implemented with different versions of floating point units (FPU). Utilizing full FPU potential improves performance of heavier operating systems such as full Linux distributions.

-mcpu, -march: Defining the CPU type and architecture

These flags can both be used to set the CPU type. Setting one or the other is sufficient.

@alphanu1
alphanu1 / retroarch.md
Created September 12, 2020 17:59 — forked from AlexMax/retroarch.md
Setting up RetroArch on a Raspberry Pi

Setting up RetroArch on a Raspberry Pi

I just put the finishing touches on my Raspberry Pi 3 emulation machine running RetroArch. I was not a huge fan of RetroPie due to the reliance on Emulation Station - more moving parts meant that there were more things that could potentially break. I just wanted something that would run raw RetroArch, no frills.

This tutorial is mostly recreated from memory and was most recently tested with a Raspberry Pi 3 running Raspbian Stretch and RetroArch 1.7.7. If there is a mistake or a broken link, PLEASE message me and I will fix it.

Step 1: Install Raspbian

I used Raspbian Stretch Lite from this page. Write the image to your SD card using something like Win32 Disk Imager, or if you're using OSX/Linux follow a tutorial on how to write the image using dd.

@alphanu1
alphanu1 / .htaccess
Created March 6, 2020 13:43 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
private void btnPrntDetail_Click(object sender, System.EventArgs args)
{
if (edvEnd.Row > -1)
{
// Set status
oTrans.PushStatusText("Production Detail Report Submitting..",true);
// Create report object
Session otSession = (Session)oTrans.Session;
JobProdDtl jobproddtl = new JobProdDtl(otSession.ConnectionPool);
@alphanu1
alphanu1 / Customization.epicor
Created November 6, 2019 11:13 — forked from strepicor/Customization.epicor
Epicor Customization - Reference Epicor native control
EpiUltraCombo cboTypeCode = (EpiUltraCombo)csm.GetNativeControlReference("5875b95a-4b6a-4e4c-b8c8-22ee5330ed40");
cboTypeCode.Enabled = false;