cd /var/www
find . \( -type f -name '*.php' -o -type f -name '*.js*' -o -type f -name '*.html' \) \
-exec grep -q 'developmyredflag' {} \; \
-print
find . ( -type f -name '.php' -o -type f -name '.js*' -o -type f -name '*.html' ) \
void setup() { | |
// put your setup code here, to run once: | |
pinMode(7, OUTPUT); | |
// pinMode(5, INPUT); | |
} | |
static uint8_t b = 0; | |
static volatile unsigned char memory[1000] = { 123, }; |
I hereby claim:
To claim this, I am signing this object:
tell application "Activity Monitor" to run | |
tell application "System Events" to tell process "Activity Monitor" | |
-- log window | |
-- print window 1 | |
set num to 0 | |
-- tell radio button 1 of radio group 1 of group 1 of toolbar 1 of window 1 to click --Using the CPU View | |
tell outline 1 of scroll area 1 of window 1 -- working with the list | |
-- look for processes with "Not Responding" in the title | |
set filteredrows to (rows whose value of first static text contains "Resolume" and value of first static text contains "Not Responding") -- Looking for Not responding process |
#!/bin/sh | |
# Git logic stolen from https://github.com/twolfson/sexy-bash-prompt/blob/master/.bash_prompt | |
# Blocky fonts from https://github.com/powerline/fonts | |
# Colors from http://misc.flogisoft.com/bash/tip_colors_and_formatting | |
# http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html | |
# magentas 236 24 247 | |
# grn 34 | |
# red 161 |
// | |
// Phoenix configuration, updated 2023-01-13 | |
// | |
// Use Cmd-Option-Command + Arrow keys to move/size windows, Cmd-Option-Command + Space for fullscreen | |
// | |
// Show debug logs: log stream --process Phoenix | |
// | |
var FULL = "full"; | |
var FIRST = "0-1/3"; |
// MPU-6050 Short Example Sketch | |
// By Arduino User JohnChi | |
// August 17, 2014 | |
// Public Domain | |
#include<Wire.h> | |
#include <PID_v1.h> | |
const int MPU_addr=0x68; // I2C address of the MPU-6050 | |
int16_t AcX,AcY,AcZ,Tmp,GyX,GyY,GyZ; |
// MPU-6050 Short Example Sketch | |
// By Arduino User JohnChi | |
// August 17, 2014 | |
// Public Domain | |
#include<Wire.h> | |
const int MPU_addr=0x68; // I2C address of the MPU-6050 | |
int16_t AcX,AcY,AcZ,Tmp,GyX,GyY,GyZ; | |
float avg_y; | |
float cur_y; |
module tube(height, radius, wall, center = false) { | |
difference() { | |
cylinder(h=height, r=radius, center=center); | |
translate([0,0,-1]) cylinder(h=height + 2, r=radius- wall, center=center); | |
} | |
} | |
for(k=[0: 20.5: 300]) { | |
P = k / 300.0; |
#include <dht11.h> | |
#include <MQ135.h> | |
// #include <Adafruit_NeoPixel.h> | |
// #include "FastLED.h" | |
#define DHT11_PIN 4 | |
dht11 DHT; | |
MQ135 MQ(A0); |