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
public static void ExtractZipFiles(List<string> zipFiles, string directory) { | |
IEnumerable<ZipEntry> zipEntries = null; | |
foreach (var zipFile in zipFiles) { | |
using (var zip = Ionic.Zip.ZipFile.Read(zipFile)) { | |
zipEntries = zipEntries != null ? zipEntries.Concat(zip.Entries) : zip.Entries; | |
} | |
} | |
int progress = 0; |
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 javax.ws.rs.GET; | |
import javax.ws.rs.POST; | |
import javax.ws.rs.Path; | |
//import javax.ws.rs.QueryParam; | |
import org.jboss.resteasy.annotations.jaxrs.QueryParam; | |
@Path("/") | |
public class RESTEASY2105Resource { | |
@Path("a") | |
@GET |
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
db.child("goals").orderByChild("performer").equalTo(mFirebaseAuth.currentUser?.uid).addListenerForSingleValueEvent( | |
object : ValueEventListener { | |
override fun onDataChange(dataSnapshot: DataSnapshot) { | |
// Get user information | |
dataSnapshot.children.forEach { i -> test(i)} | |
} | |
override fun onCancelled(databaseError: DatabaseError) { | |
} |
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
db.child("goals").orderByChild("performer").equalTo(mFirebaseAuth.currentUser?.uid).addListenerForSingleValueEvent( | |
object : ValueEventListener { | |
override fun onDataChange(dataSnapshot: DataSnapshot) { | |
// Get user information | |
dataSnapshot.children.forEach { i -> test(i)} | |
} | |
override fun onCancelled(databaseError: DatabaseError) { | |
} |
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
"goals": { | |
"user1": { | |
"goal1": { | |
"name": "zhubnout", | |
"completed": false, | |
"coaches": { | |
"participant2": true | |
}, | |
"creationDate": 1459361875666, | |
"completionDate": 1459361875666, |
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
# /** | |
# * @File Makefile | |
# * @Author Jiri Jaros, Vojtech Nikl, Marta Cudova | |
# * @Affiliation FIT, Brno University of Technology | |
# * @Email [email protected], [email protected], [email protected] | |
# * @Comments Linux makefile for Salomon | |
# * | |
# * @Tool ARC project 2017 | |
# * @Created 15 February 2015, 15:25 | |
# * @LastModif 22 February 2017, 16:00 |
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
# /** | |
# * @File Makefile | |
# * @Author Jiri Jaros, Vojtech Nikl, Marta Cudova | |
# * @Affiliation FIT, Brno University of Technology | |
# * @Email [email protected], [email protected], [email protected] | |
# * @Comments Linux makefile for Salomon | |
# * | |
# * @Tool ARC project 2017 | |
# * @Created 15 February 2015, 15:25 | |
# * @LastModif 22 February 2017, 16:00 |
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
bindsym Control+mod1+l exec i3lock -c 000000 | |
bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+ unmute | |
bindsym XF86AudioLowerVolume exec amixer -q set Master 5%- unmute | |
bindsym XF86AudioMute exec amixer -q set Master toggle | |
bindsym XF86MonBrightnessUp exec xbacklight -inc 10 # increase screen brightness | |
bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # decrease screen brightness | |
# Media player controls |