Skip to content

Instantly share code, notes, and snippets.

View diazabdulm's full-sized avatar

Abdul Diaz diazabdulm

View GitHub Profile
@booradlee
booradlee / scrcpy_shortcut.md
Last active December 10, 2023 01:41 — forked from csarron/scrcpy_shortcut.md
Scrcpy Shortcuts

Scrcpy Shortcuts


Action Linux Windows
switch fullscreen mode Ctrl+f Alt+f
resize window to 1:1 (pixel-perfect) Ctrl+g Alt+g
resize window to remove black borders Ctrl+x | Double-click¹ Alt+w | Double-click¹
click on HOME Ctrl+h | Middle-click Alt+h | Middle-click
click on BACK Ctrl+b | Right-click² Alt+b | esc | Right-click²
@diazabdulm
diazabdulm / script.js
Last active March 10, 2021 00:57
Automatically delete old Google Drive files and folders
// 1. Import the following into Google Apps Scripts
// 2. Select your desired execution interval
function getItemsOlderThan(numDays) {
const threshold = new Date().getTime() - 3600 * 1000 * 24 * numDays;
const cutoffDate = new Date(threshold).toISOString();
const query = `(modifiedDate < "${cutoffDate}") and ('me' in owners)`;
const response = Drive.Files.list({ q: query });
@arpit
arpit / technologies.md
Last active August 23, 2024 10:19
List of Software Technologies

App Development

  • Android
    • Java
    • Kotlin
  • iOS
    • Objective C
    • Swift
  • Cross Platform
    • React Native
  • Flutter
/**
* @license
* Copyright 2018, Google, Inc.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@AnderRasoVazquez
AnderRasoVazquez / comands.sh
Last active October 9, 2020 11:36
[Terminal Commands To Initiate Gala Windows And Workspaces Actions in elementary OS] #elementaryos #bash #shell
Open a Terminal and try the next commands :
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:1
Luna : Workspace Overview ( keep Enter pressed ), Freya : Multitasking View
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:2
Terminal maximizes
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:3
Terminal minimizes
@alirobe
alirobe / reclaimWindows10.ps1
Last active November 15, 2024 12:08
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###