This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def Organizer(🎁) | |
🎁.select{|🧽|🧽.is_a?(String)&&🧽.size>5&&🧽!='tomatoes' } | |
end | |
# Modify the solution above. Emojis are free. | |
# Code below will check correctness. | |
example_collection = [ | |
'apples', | |
33, | |
nil, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) FIRST and other WPILib contributors. | |
// Open Source Software; you can modify and/or share it under the terms of | |
// the WPILib BSD license file in the root directory of this project. | |
package frc.robot.subsystems; | |
import com.ctre.phoenix.motorcontrol.can.WPI_VictorSPX; | |
import edu.wpi.first.math.controller.BangBangController; | |
import edu.wpi.first.math.controller.SimpleMotorFeedforward; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rigctld -m 373 -r /dev/ttyUSB0 -s115200 & # -vvv | |
rigctl=$! | |
piardopc 8515 plughw:CODEC,0 plughw:CODEC,0 | |
kill $rigctl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FOR IMMEDIATE RELEASE | |
April 1, 2021 | |
Parks on the Air announces the new Facebook mode | |
McMurdo Station, Antarctica: Parks on the Air will now be accepting QSOs conducted entirely on Facebook. Special awards will be issued for QSOs at 25, 50, and 75 likes, and a monthly for the QSO with the most comments complaining about how bad operators are ruining the airwaves. | |
Jason Johnston (W3AAX), administrator of the Facebook POTA group and owner of the program says it was inevitable. | |
"People were doing traditional QSOs on the air and then coming to Facebook to correct their logs so we kinda wondered what the point of using our radios was. Now more people can get out to their local park, open the Facebook app, and make some QSOs" Johnston said. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sean~/dev-src/src/portaudio$ ../config | |
checking build system type... x86_64-apple-darwin20.3.0 | |
checking host system type... x86_64-apple-darwin20.3.0 | |
checking target system type... x86_64-apple-darwin20.3.0 | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set lastCall to "" | |
repeat | |
tell application "RUMlogNG" | |
set currentCall to callsign | |
if (lastCall is not equal to currentCall) then | |
set lastCall to currentCall | |
set skcc_nr to do shell script "/Users/sean/bin/get_skcc " & currentCall & " nr" | |
set their_name to do shell script "/Users/sean/bin/get_skcc " & currentCall & " name" | |
if skcc_nr is not "" then | |
set nick to their_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"flag" | |
"log" | |
"net" | |
"reflect" | |
"strings" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) b main.capset | |
Breakpoint 1 at 0x498380: file /root/go/src/github.com/swalberg/test/capset_linux.go, line 9. | |
(gdb) r | |
Starting program: /root/go/src/github.com/swalberg/test/test | |
2020/06/23 08:55:10 Starting Envoy with CAP_NET_BIND_SERVICE capability | |
Breakpoint 1, main.capset (~r0=...) at /root/go/src/github.com/swalberg/test/capset_linux.go:9 | |
9 func capset() error { | |
(gdb) n | |
10 header := unix.CapUserHeader{unix.LINUX_CAPABILITY_VERSION_3, int32(os.Getpid())} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Map; | |
import java.util.NavigableMap; | |
import java.util.TreeMap; | |
public class Test { | |
public static void main(String[] args) { | |
FiringTable table = new FiringTable(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function _ssh_completion() { | |
perl -ne 'print "$1 " if /^Host (.+)$/' ~/.ssh/config | |
} | |
complete -W "$(_ssh_completion)" ssh |
NewerOlder