File tree 2 files changed +69
-0
lines changed
2 files changed +69
-0
lines changed Original file line number Diff line number Diff line change
1
+ namespace Hacker_Scripts
2
+ {
3
+ using System ;
4
+ using Twilio ;
5
+ using System . Linq ;
6
+
7
+ class Hangover
8
+ {
9
+ public static string TWILIO_ACCOUNT_SID = Environment . GetEnvironmentVariable ( "TWILIO_ACCOUNT_SID" ) ;
10
+ public static string AUTH_TOKEN = Environment . GetEnvironmentVariable ( "TWILIO_AUTH_TOKEN" ) ;
11
+
12
+ public static string YOUR_NUMBER = "9879789978" ;
13
+ public static string BOSS_NUMBER = "3213213233" ;
14
+
15
+ static void Main ( string [ ] args )
16
+ {
17
+ var twilio = new TwilioRestClient ( TWILIO_ACCOUNT_SID , AUTH_TOKEN ) ;
18
+
19
+ string [ ] randomMessages = {
20
+ "Locked out" ,
21
+ "Pipes broke" ,
22
+ "Food poisoning" ,
23
+ "Not feeling well"
24
+ } ;
25
+
26
+ int randomIndex = new Random ( ) . Next ( randomMessages . Count ( ) ) ;
27
+ String messageToSend = ( randomMessages [ randomIndex ] ) ;
28
+
29
+ var message = twilio . SendMessage ( YOUR_NUMBER , BOSS_NUMBER , messageToSend ) ;
30
+ Console . WriteLine ( message . Sid ) ;
31
+ }
32
+ }
33
+ }
34
+
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Linq ;
4
+ using System . Text ;
5
+ using System . Threading . Tasks ;
6
+ using Twilio ;
7
+
8
+ namespace Hacker_Scripts
9
+ {
10
+ class SmackMyBitch
11
+ {
12
+ public static string TWILIO_ACCOUNT_SID = Environment . GetEnvironmentVariable ( "TWILIO_ACCOUNT_SID" ) ;
13
+ public static string AUTH_TOKEN = Environment . GetEnvironmentVariable ( "TWILIO_AUTH_TOKEN" ) ;
14
+
15
+ public static string YOUR_NUMBER = "9879789978" ;
16
+ public static string HER_NUMBER = "3213213233" ;
17
+
18
+ static void Main ( string [ ] args )
19
+ {
20
+ var twilio = new TwilioRestClient ( TWILIO_ACCOUNT_SID , AUTH_TOKEN ) ;
21
+
22
+ string [ ] randomMessages = {
23
+ "Working hard" ,
24
+ "Gotta ship this feature" ,
25
+ "Someone fucked the system again"
26
+ } ;
27
+
28
+ int randomIndex = new Random ( ) . Next ( randomMessages . Count ( ) ) ;
29
+ String messageToSend = ( randomMessages [ randomIndex ] ) ;
30
+
31
+ var message = twilio . SendMessage ( YOUR_NUMBER , HER_NUMBER , messageToSend ) ;
32
+ Console . WriteLine ( message . Sid ) ;
33
+ }
34
+ }
35
+ }
You can’t perform that action at this time.
0 commit comments