content
stringlengths
4
1.04M
lang
stringclasses
358 values
score
int64
0
5
repo_name
stringlengths
5
114
repo_path
stringlengths
4
229
repo_licenses
sequencelengths
1
8
foo { /* prettier-ignore */ thing: foo; -ms-thing: foo; }
CSS
1
mikoscz/prettier
tests/css/comments/prettier-ignore.css
[ "MIT" ]
exec >&2 redo-ifchange whichmake run() { rm -f *.out ./whichmake y rm -f *.out ./whichmake -j10 y rm -f *.out redo y rm -f *.out # Capture output to y.log because we know this intentionally generates # a scary-looking redo warning (overriding the jobserver). if ! redo -j10 y 2>y.log; then cat y.log exit 99 fi } run . ./wipe-redo.sh run
Stata
4
BlameJohnny/redo
t/203-make/all.do
[ "Apache-2.0" ]
CREATE ALIAS UPDATE_EMPLOYEE_DESIGNATION AS $$ import java.sql.CallableStatement; import java.sql.Connection; import java.sql.SQLException; @CODE void updateEmployeeDesignation(final Connection conn, final String employeeNumber, final String title) throws SQLException { CallableStatement updateStatement = conn.prepareCall("update deptemployee set title = '" + title + "' where employeeNumber = '" + employeeNumber + "'"); updateStatement.execute(); } $$;
SQL
4
DBatOWL/tutorials
persistence-modules/hibernate5/src/main/resources/init_database.sql
[ "MIT" ]
MSTRINGIFY( cbuffer OutputToVertexArrayCB : register( b0 ) { int startNode; int numNodes; int positionOffset; int positionStride; int normalOffset; int normalStride; int padding1; int padding2; }; StructuredBuffer<float4> g_vertexPositions : register( t0 ); StructuredBuffer<float4> g_vertexNormals : register( t1 ); RWBuffer<float> g_vertexBuffer : register( u0 ); [numthreads(128, 1, 1)] void OutputToVertexArrayWithNormalsKernel( uint3 Gid : SV_GroupID, uint3 DTid : SV_DispatchThreadID, uint3 GTid : SV_GroupThreadID, uint GI : SV_GroupIndex ) { int nodeID = DTid.x; if( nodeID < numNodes ) { float4 position = g_vertexPositions[nodeID + startNode]; float4 normal = g_vertexNormals[nodeID + startNode]; // Stride should account for the float->float4 conversion int positionDestination = nodeID * positionStride + positionOffset; g_vertexBuffer[positionDestination] = position.x; g_vertexBuffer[positionDestination+1] = position.y; g_vertexBuffer[positionDestination+2] = position.z; int normalDestination = nodeID * normalStride + normalOffset; g_vertexBuffer[normalDestination] = normal.x; g_vertexBuffer[normalDestination+1] = normal.y; g_vertexBuffer[normalDestination+2] = normal.z; } } [numthreads(128, 1, 1)] void OutputToVertexArrayWithoutNormalsKernel( uint3 Gid : SV_GroupID, uint3 DTid : SV_DispatchThreadID, uint3 GTid : SV_GroupThreadID, uint GI : SV_GroupIndex ) { int nodeID = DTid.x; if( nodeID < numNodes ) { float4 position = g_vertexPositions[nodeID + startNode]; float4 normal = g_vertexNormals[nodeID + startNode]; // Stride should account for the float->float4 conversion int positionDestination = nodeID * positionStride + positionOffset; g_vertexBuffer[positionDestination] = position.x; g_vertexBuffer[positionDestination+1] = position.y; g_vertexBuffer[positionDestination+2] = position.z; } } );
HLSL
4
BonJovi1/Bullet-the-Blue-Sky
external/bullet-2.81-rev2613/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/HLSL/OutputToVertexArray.hlsl
[ "WTFPL" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R02e02*/ Pluto#3#25#Black#No Lizzie#10#43#Tan#Yes Pesci#10#38#Brindle#No
SAS
0
snowdj/sas-prog-for-r-users
code/SP4R02e02.sas
[ "CC-BY-4.0" ]
# This script implements a toolkit for counting active S-boxes using Mixed-Integer # Linear Programming for mCrypton from the paper by N. Mouha, Q. Wang, D. Gu, and B. Preneel, # "Differential and Linear Cryptanalysis using Mixed-Integer Linear Programming," # in Information Security and Cryptology - Inscrypt 2011, # Lecture Notes in Computer Science, Springer-Verlag, 20 pages, 2011."(available at # http://www.cosic.esat.kuleuven.be/publications/article-2080.pdf) # and was downloaded from (http://www.ecrypt.eu.org/tools/) # # This work was done in the context of an internship done at NXP # under supervision of Ventzislav Nikov <[email protected]> # and is published under MIT license: # ============================================================================= # Copyright (C) 2012 Laura Winnen <[email protected]> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. # ============================================================================= #-- mCrypton-- # Counting the minimal number of active S-boxes for mCrypton using "Coin" solver in Sage. # (at least version 5.0 is required, other solvers are possible) # - Differential cryptanalysis non-related key setting # - Linear cryptanalysis non-related key setting # - Any number of rounds (default 10) #Writes the constraints implied by the permutation Pi operation to the file f #in: i1,i2,i3,i4 (inputs to Pi), o1,o2,o3,o4 (outputs from Pi),i (input difference), o (output difference), d (dummy variable), f #file to write to) #out: \ def EqPi(i1,i2,i3,i4,o1,o2,o3,o4,i,o,d,f): #Permutation operation has differential/linear branch number equal to 4 f.write("p.add_constraint(x["+str(i1)+"] + x["+str(i2)+"] + x["+str(i3)+"] + x["+str(i4)+"] + x["+str(o1)+"] + x["+str(o2)+"] + x["+str(o3)+"] + x["+str(o4)+"] - 4*d["+str(d)+"] >= 0)"+'\n') f.write("p.add_constraint(d["+str(d)+"] - x["+str(i1)+"] >= 0)"+'\n') f.write("p.add_constraint(d["+str(d)+"] - x["+str(i2)+"] >= 0)"+'\n') f.write("p.add_constraint(d["+str(d)+"] - x["+str(i3)+"] >= 0)"+'\n') f.write("p.add_constraint(d["+str(d)+"] - x["+str(i4)+"] >= 0)"+'\n') f.write("p.add_constraint(d["+str(d)+"] - x["+str(o1)+"] >= 0)"+'\n') f.write("p.add_constraint(d["+str(d)+"] - x["+str(o2)+"] >= 0)"+'\n') f.write("p.add_constraint(d["+str(d)+"] - x["+str(o3)+"] >= 0)"+'\n') f.write("p.add_constraint(d["+str(d)+"] - x["+str(o4)+"] >= 0)"+'\n') #Additional constraints to ensure that an input difference always leads to an output difference f.write("p.add_constraint(x["+str(i1)+"] + x["+str(i2)+"] + x["+str(i3)+"] + x["+str(i4)+"] - i["+str(i)+"] >= 0)"+'\n') f.write("p.add_constraint(x["+str(o1)+"] + x["+str(o2)+"] + x["+str(o3)+"] + x["+str(o4)+"] - o["+str(o)+"] >= 0)"+'\n') f.write("p.add_constraint(i["+str(i)+"] - x["+str(i1)+"] >= 0)"+'\n') f.write("p.add_constraint(i["+str(i)+"] - x["+str(i2)+"] >= 0)"+'\n') f.write("p.add_constraint(i["+str(i)+"] - x["+str(i3)+"] >= 0)"+'\n') f.write("p.add_constraint(i["+str(i)+"] - x["+str(i4)+"] >= 0)"+'\n') f.write("p.add_constraint(o["+str(o)+"] - x["+str(o1)+"] >= 0)"+'\n') f.write("p.add_constraint(o["+str(o)+"] - x["+str(o2)+"] >= 0)"+'\n') f.write("p.add_constraint(o["+str(o)+"] - x["+str(o3)+"] >= 0)"+'\n') f.write("p.add_constraint(o["+str(o)+"] - x["+str(o4)+"] >= 0)"+'\n') f.write("p.add_constraint(o["+str(o)+"] - i["+str(i)+"] >= 0)"+'\n') #Updates a and O for the S-box transformation #in: a (difference vector), O (list of indices for objective function) #out: a (difference vector), O (list of indices for objective function) def Substitution(a,O): for i in range(0,4): for j in range(0,4): O.append(a[i][j]) return [a,O] #Updates a for the transposition transformation #in: a (difference vector) #out: a (difference vector) def Transposition(a): new_a=[] for i in range(0,len(a[0])): new_a.append([]) for j in range(0,len(a)): new_a[i].append(a[j][i]) return new_a #Updates a,next,dummy,CPi for the permutation operation #in: a (difference vector), next (the next unused index for a), dummy (the next unused index for d), CPi (list of constraints implied #by the permutation) #out: a (difference vector), next (the next unused index for a), dummy (the next unused index for d), CPi (list of constraints implied #by the permutation) def Permutation(a,next,dummy,CPi,next_i,next_o): for j in range(0,4): CPi.append([a[0][j],a[1][j],a[2][j],a[3][j],next,next+1,next+2,next+3,next_i,next_o,dummy]) for i in range(0,4): a[i][j]=next next=next+1 dummy=dummy+1 next_i=next_i+1 next_o=next_o+1 return [a,next,dummy,CPi,next_i,next_o] #Updates a,next,dummy,O,CPi, next_i and next_o after one round #in: a (difference vector), next (the next unused index for x), dummy (the next unused index for d), O (list of indices for objective #function), CPi (list of constraints implied by the permutation operation), next_i (the next unused index for i), next_o (the next #unused index for o) #out: a (difference vector), next (the next unused index for x), dummy (the next unused index for d), O (list of indices for objective #function), CPi (list of constraints implied by the permutation operation),next_i (the next unused index for i), next_o (the next #unused index for o) def round(a,next,dummy,O,CPi,next_i,next_o): S=Substitution(a,O) a=S[0] O=S[1] MC=Permutation(a,next,dummy,CPi,next_i,next_o) a=MC[0] next=MC[1] dummy=MC[2] CPi=MC[3] next_i=MC[4] next_o=MC[5] a=Transposition(a) return[a,next,dummy,O,CPi,next_i,next_o] #Generates a MILP (Sage) for calculating the minimum number of differentially/lineary active S-boxes for 'rounds' rounds of mCrypton #in the non-related key setting and solves this program using the "Coin" solver #in: rounds (the number of rounds) #out: the MILP (for calculating the minimum number of differentially/lineary active S-boxes for 'rounds' rounds of mCrypton in the non-#related (related=false) key setting and prints the solution of this program def giveEquationsmCryptonandSolve(rounds): next=0 #next unused state/key variable index dummy=0 #next unused dummy variable index next_i=0 #next unused input variable index next_o=0 #next unused output variable index a=[] #state variable O=[] #list of indices for objective function CPi=[] #list of constraints implied by the permutation Pi operation CA=[] #list of indices for constraint to ensure not all inputs are zero RK=[] for i in range(0,4): a.append([]) for j in range(0,4): a[i].append(next) CA.append(next) next=next+1 for i in range(0,rounds): NR=round(a,next,dummy,O,CPi,next_i,next_o) a=NR[0] next=NR[1] dummy=NR[2] O=NR[3] CPI=NR[4] next_i=NR[5] next_o=NR[6] f = open('Eq-mCrypton-With-'+str(rounds)+'-Rounds.sage','w') f.write("p = MixedIntegerLinearProgram(maximization=False, solver=\"Coin\")"+'\n') f.write("x = p.new_variable(binary=True)"+'\n') f.write("d = p.new_variable(binary=True)"+'\n') f.write("i = p.new_variable(binary=True)"+'\n') f.write("o = p.new_variable(binary=True)"+'\n') f.write('\n') f.write("p.set_objective(" ) for i in range (0, len(O)-1): f.write("x["+str(O[i])+"] + ") f.write("x["+str(O[len(O)-1])+"] )"+'\n') f.write('\n') f.write("p.add_constraint(") for i in range (0, len(CA)-1): f.write("x["+str(CA[i])+"] + ") f.write("x["+str(CA[len(CA)-1])+"] >= 1 )"+'\n') for i in range (0, len(CPi)): EqPi(CPi[i][0],CPi[i][1],CPi[i][2],CPi[i][3],CPi[i][4],CPi[i][5],CPi[i][6],CPi[i][7],CPi[i][8],CPi[i][9],CPi[i][10],f) f.write('\n') f.write("solution=p.solve()"+'\n') f.write("print \"Minimal number of S-boxes:\", solution"+'\n') f.close() execfile('Eq-mCrypton-With-'+str(rounds)+'-Rounds.sage') giveEquationsmCryptonandSolve(10)
Sage
5
Deadlyelder/Crypto-Tools
S-Box MILP tool/mCrypton.sage
[ "Unlicense" ]
.class-style { font-size: 55; color: red; } #id-style { background-color: blue; } Label { border-color: black; border-radius: 25; margin: 10px; }
CSS
2
tralves/NativeScript
apps/ui/src/css/styled-formatted-text-page.css
[ "Apache-2.0" ]
' usb ADB bridge by [email protected] ' credit to the guy at code.google.com/p/microbridge for original implementation ' license: NAVCOM license ' buy my robot kits! www.f3.to first in android robotics! ' the desync problem is with multiple connections: single conn works great CON _clkmode = xtal1 + pll16x ' _xinfreq = 6_000_000 _clkfreq = 96_000_000 dat shell byte "shell:",0',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ' "shell:",0 ' "shell:exec logcat",0 mbrdg byte "host::propbridge",0 flip byte 0 pub PrimaryHandshake | t ' term.char(term#CS) result:=\Enumerate if result<0 and result<>-150 waitcnt(cnt+(clkfreq/10)) abort -1 if \Identify < 0', string("Can't identify device")) abort -2 if \Init < 0 ', string("Error initializing device")) abort -3 ' do handshaking now 'waitcnt(cnt + clkfreq) ' term.str(string("Sending string host:")) repeat 10 WriteMessage(A_CNXN,$0100_0000,MAX_PAYLOAD,@mbrdg,strsize(@mbrdg)+1) ' send connection. the $0100_0000 is just ADB version. message_command~ bytefill(@message_command,0,MESSAGE_HEADER_SIZE) \hc.BulkRead(BulkIn,@message_command, MESSAGE_HEADER_SIZE) if (message_command == A_CNXN) quit if (message_command <> A_CNXN) ' term.str(string("Not a connection message ")) ' term.dec(message_command) abort -4000-message_command else 'term.str(string("Got CNXN message")) bytefill(@stringin,0,BUFFERSIZE) 'term.dec(\hc.BulkRead(BulkIn,@stringin, message_data_length)) ' get payload \hc.BulkRead(BulkIn,@stringin, message_data_length) 'term.char(" ") 'term.str(@stringin) 'term.char(13) if (strcomp(@stringin,string("device::")) == -1) bytefill(@stringin,0,BUFFERSIZE) result:=-1 repeat NUMCONNS result++ localID[result]:=result \WriteMessage(A_OPEN,LocalID[result],0,@shell,strsize(@shell)+1) ' send request to open shell status[result]:=ADB_OPENING t~~ repeat t:=GetMessage until t==0 return 1 ' we're good abort -10 ' other error con NUMCONNS=4 pub closeall result~ repeat NUMCONNS blink \writeEmptyMessage(A_CLSE,localID[result],remoteID[result++]) status[result] := ADB_CLOSED pub rxbuf return @stringin pub shellbuf return @shell pub debug_stat(conn) return status[conn] pub debug_loc(conn) return localID[conn] pub debug_rem(conn) return remoteID[conn] pub debug_message_command return message_command pub debug_message_arg0 return message_arg0 pub debug_message_arg1 return message_arg1 pub debug_activeconn return activeconn pub rxclr bytefill(@stringin,0,strsize(@stringin)) var long activeconn pub id return activeconn { PUB dec(value,conn) | i '' Print a decimal number if value < 0 -value tx("-",conn) i := 1_000_000_000 repeat 10 if value => i tx(value / i + "0",conn) value //= i result~~ elseif result or i == 1 tx("0",conn) i /= 10 } pub rx | c' returns the relevant buffer result:=-1 repeat NUMCONNS result++ if status[result]==ADB_CLOSED localID[result]:=result \WriteMessage(A_OPEN,LocalID[result],0,@shell,strsize(@shell)+1) ' send request to open shell status[result]:=ADB_OPENING repeat GetMessage until status[result]==ADB_OPEN GetMessage return received pri GetConNum | connum if (message_command == A_OKAY and status[message_arg1]==ADB_OPENING) return message_arg1 connum:=-1 result~ repeat NUMCONNS if RemoteID[result]==message_arg0 connum:=result result++ activeconn:= connum return connum pri GetMessage | prevstatus, connum received~ bytefill(@message_command,0,MESSAGE_HEADER_SIZE) result := \hc.BulkRead(BulkIn,@message_command, MESSAGE_HEADER_SIZE) ' get ack, should be also A_CNXN, returns 24 connum:=GetConNum if (result==-160) ' timeout: no need to abort return 0 if (result < 0) abort result if (message_command == 0 and status[connum] == ADB_WRITING) abort -9 if (message_command == 0) return 0 if (connum<0) abort -120+connum if (connum>NUMCONNS-1) abort -130-connum if (message_command == A_WRTE) connum:=GetConNum prevstatus := status[connum] status[connum] := ADB_RECEIVING bytefill(@stringin,0,BUFFERSIZE) if (message_data_length) repeat received := \hc.BulkRead(BulkIn,@stringin, message_data_length) until received status[connum] := prevstatus \WriteEmptyMessage(A_OKAY, localID[connum], remoteID[connum]) return A_WRTE if (message_command == A_OKAY) connum:=GetConNum if (status[connum] == ADB_OPENING) remoteID[connum]:=message_arg0 status[connum]:=ADB_OPEN if (status[connum] == ADB_WRITING) status[connum]:=ADB_OPEN if (status[connum] == ADB_RECEIVING) status[connum]:=ADB_OPEN return A_OKAY if (message_command == A_CLSE) connum:=GetConNum status[connum]:=ADB_CLOSED return A_CLSE'abort -8 abort -99 pub str(stringptr,conn) WriteMessage(A_WRTE,conn,RemoteID[conn],stringptr,strsize(stringptr)) ' send request to open shell status[conn] := ADB_WRITING 'activeconn:=conn return true OBJ hc : "usb-fs-host" CON BUFFERSIZE = MAX_PAYLOAD ' adb buffer size E_SUCCESS = 0 MESSAGE_HEADER_SIZE = 6*4 ' 6 longs in message header 'ADB MAX_PAYLOAD = 4096 A_SYNC = $434e5953 'CNYS A_CNXN = $4e584e43 'NXNC A_OPEN = $4e45504f 'NEPO A_OKAY = $59414b4f 'YAKO A_CLSE = $45534c43 'ESLC A_WRTE = $45545257 'ETRW ADB_CLASS = $ff ADB_SUBCLASS = $42 'ADB_USB_PACKETSIZE = $40 'ADB_CONNECTSTRING_LENGTH = 64 ADB_MAX_CONNECTIONS = 1 'ADB_CONNECTION_RETRY_TIME = 1000 ADB_UNUSED = 0 ADB_CLOSED = 1 ADB_OPEN = 2 ADB_OPENING = 3 ADB_RECEIVING = 4 ADB_WRITING = 5 ADB_CONNECT = 6 ADB_DISCONNECT = 7 ADB_CONNECTION_OPEN = 8 ADB_CONNECTION_CLOSE = 9 ADB_CONNECTION_FAILED = 10 ADB_CONNECTION_RECEIVE = 11 DAT '' '' ''============================================================================== '' Device Driver Interface ''============================================================================== ' WITH ADB 'Found device 18D1:4E12 'Raw device descriptor: '12 01 00 02 00 00 00 40 D1 18 12 4E 27 02 01 02 03 01 'Device configuration: ' Interface ptr=0395 number=00 alt=00 class=08 subclass=06 ' Endpoint ptr=039E address=83 maxpacket=0040 ' Endpoint ptr=03A5 address=02 maxpacket=0040 ' Interface ptr=03AC number=01 alt=00 class=FF subclass=42 ' Endpoint ptr=03B5 address=84 maxpacket=0040 ' Endpoint ptr=03BC address=03 maxpacket=0040 ' WITHOUT ADB 'Device configuration: ' Interface ptr=0395 number=00 alt=00 class=08 subclass=06 ' Endpoint ptr=039E address=83 maxpacket=0040 ' Endpoint ptr=03A5 address=02 maxpacket=0040 'Found device 18D1:4E11 bulkIn word 0 bulkOut word 0 ifd long 0 epd1 long 0 epd2 long 0 PUB Enumerate '' Enumerate the available USB devices. This is provided for the convenience '' of applications that use no other USB class drivers, so they don't have to '' directly import the host controller object as well. return hc.Enumerate PUB Identify '' The caller must have already successfully enumerated a USB device. '' This function tests whether the device looks like it's compatible '' with this driver. '' This function is meant to be non-invasive: it doesn't do any setup, '' nor does it try to communicate with the device. If your application '' needs to be compatible with several USB device classes, you can call '' Identify on multiple drivers before committing to using any one of them. '' '' Returns 1 if the device is supported, 0 if not. Does not abort. '' first: it must have 2 interfaces, no more and no less '' second: check (and save) the interface number,class and subclass ifd~ epd1~ epd2~ result~ repeat NUMCONNS status[result++]:=ADB_CLOSED ifd := hc.FirstInterface repeat if (BYTE[ifd + hc#IFDESC_bInterfaceClass] == ADB_CLASS) and (BYTE[ifd + hc#IFDESC_bInterfaceSubclass] == ADB_SUBCLASS) quit elseif (ifd<1) abort -222 else ifd := hc.NextInterface(ifd) { result~ ifd := hc.FirstInterface repeat while ifd epd1 := hc.NextEndpoint(ifd) epd2 := hc.NextEndpoint(epd1) if (ifd>0 and epd1>0 and epd2>0 and BYTE[ifd + hc#IFDESC_bInterfaceNumber] == ADB_PROTOCOL and BYTE[ifd + hc#IFDESC_bInterfaceClass] == ADB_CLASS and BYTE[ifd + hc#IFDESC_bInterfaceSubclass] == ADB_SUBCLASS) result++ else ifd := hc.NextInterface(ifd) { if (hc.FirstInterface <> 0 and hc.nextInterface(hc.FirstInterface) <> 0 and hc.nextInterface(hc.nextInterface(hc.FirstInterface)) == 0) ifd := (hc.FirstInterface) epd1 := hc.NextEndpoint(ifd) epd2 := hc.NextEndpoint(epd1) if (ifd>0 and epd1>0 and epd2>0 and BYTE[ifd + hc#IFDESC_bInterfaceNumber] == ADB_PROTOCOL and BYTE[ifd + hc#IFDESC_bInterfaceClass] == ADB_CLASS and BYTE[ifd + hc#IFDESC_bInterfaceSubclass] == ADB_SUBCLASS) return 1 else ifd := hc.nextInterface(ifd) epd1 := hc.NextEndpoint(ifd) epd2 := hc.NextEndpoint(epd1) if (ifd>0 and epd1>0 and epd2>0 and BYTE[ifd + hc#IFDESC_bInterfaceNumber] == ADB_PROTOCOL and BYTE[ifd + hc#IFDESC_bInterfaceClass] == ADB_CLASS and BYTE[ifd + hc#IFDESC_bInterfaceSubclass] == ADB_SUBCLASS) return 1 } ifd~ return result } PUB Init | one, two '' (Re)initialize this driver. This must be called after Enumerate '' and Identify are both run successfully. All three functions must be '' called again if the device disconnects and reconnects, or if it is '' power-cycled. '' '' This function sets the device's USB configuration, collects '' information about the device's descriptors, and sets default '' UART settings. epd1 := one := hc.NextEndpoint(ifd) epd2 := two := hc.NextEndpoint(one) if (BYTE[two + hc#EPDESC_bEndpointAddress] & $80 == $00) bulkIn := one bulkOut := two elseif (BYTE[two + hc#EPDESC_bEndpointAddress] & $80 == $80) bulkIn := two bulkOut := one else result:=two two:=one one:=result bulkIn := two bulkOut := one ' abort (BYTE[two + hc#EPDESC_bEndpointAddress])*-1 ' bulkOut := hc.NextEndpoint(hc.nextInterface(hc.FirstInterface)) ' bulkIn := hc.NextEndpoint(bulkOut) hc.Configure return 1 var long status[NUMCONNS] long localID[NUMCONNS] long remoteID[NUMCONNS] var long received ' size of string buffer byte stringin[BUFFERSIZE] { pub inbuffer(conn) return @buffers+((conn<#constant(ADB_MAX_CONNECTIONS-1))*CONBUFSIZE) } DAT '' ''============================================================================== '' Low-level adb interface ''============================================================================ '' connection '' message in/out message_command long 0 message_arg0 long 0 message_arg1 long 0 message_data_length long 0 message_data_check long 0 message_magic long 0 pub WriteEmptyMessage(cmd, arg0, arg1) message_command := cmd message_arg0 := arg0 message_arg1 := arg1 message_data_length~ message_data_check~ message_magic := cmd ^ $FFFF_FFFF return \hc.BulkWrite(BulkOut,@message_command, MESSAGE_HEADER_SIZE) pub WriteMessage(cmd, arg0, arg1, MsgAddr, MsgSize) message_command := cmd message_arg0 := arg0 message_arg1 := arg1 message_data_length := MsgSize message_data_check~ repeat MsgSize message_data_check := message_data_check + byte[MsgAddr++] MsgAddr -= MsgSize message_magic := cmd ^ $FFFF_FFFF result := \hc.BulkWrite(BulkOut,@message_command, MESSAGE_HEADER_SIZE) return \hc.BulkWrite(BulkOut,MsgAddr, MsgSize) pub blink waitcnt(cnt+constant(_clkfreq/100))
Propeller Spin
5
deets/propeller
libraries/community/p1/All/ADB bridge full (for Android interfacing)/spin/spin/adb-shell-module-autoenum.spin
[ "MIT" ]
metadata created = "2014-01-26T23:03:09Z" sign-algorithm = CURVE-ed25519 public-sign-key = #")YI31D3#Y@2yWUmzLu&v8or#)[JavRb!7<pzcDWE" signed-on = 2014-01-26T23:03:09Z signature = #"Ev)&KJDVlIDl/Vf5dijJa&RmMdq6PY!/ieT&m9HCQeBk)+miJHgjB@!>UwaBDN#s^cd7*+g]Ahl@lxu(" CURL island = #".q0Z6tq7Bq0da#B[2v11[$V8sgKVH^y9Z=5TYoHl" path = (hello kitty cartoon foo bar baz seventy-three 99) bindings soda = thirsty sweetness = 77 access id = #"2*=hY%biPJoItzBhVH4g=4u9x" bindings
Zimpl
0
mgiorgio/coast
examples/curl+.zpl
[ "Apache-2.0" ]
import Widget from require "lapis.html" class MoonTest extends Widget content: => div class: "greeting", -> text "hello world"
MoonScript
3
tommy-mor/lapis
spec/templates/moon_test.moon
[ "MIT", "Unlicense" ]
<employee id="{person/@user}"> <name>{/person/firstName} {/person/lastName}</name> <location>{/person/city}</location> </employee>
XQuery
3
erard22/camel
components/camel-saxon/src/test/resources/org/apache/camel/component/xquery/myTransform.xquery
[ "Apache-2.0" ]
if(NOT USE_VULKAN) return() endif() if(ANDROID) if(NOT ANDROID_NDK) message(FATAL_ERROR "USE_VULKAN requires ANDROID_NDK set.") endif() # Vulkan from ANDROID_NDK set(VULKAN_INCLUDE_DIR "${ANDROID_NDK}/sources/third_party/vulkan/src/include") message(STATUS "VULKAN_INCLUDE_DIR:${VULKAN_INCLUDE_DIR}") set(VULKAN_ANDROID_NDK_WRAPPER_DIR "${ANDROID_NDK}/sources/third_party/vulkan/src/common") message(STATUS "Vulkan_ANDROID_NDK_WRAPPER_DIR:${VULKAN_ANDROID_NDK_WRAPPER_DIR}") set(VULKAN_WRAPPER_DIR "${VULKAN_ANDROID_NDK_WRAPPER_DIR}") add_library( VulkanWrapper STATIC ${VULKAN_WRAPPER_DIR}/vulkan_wrapper.h ${VULKAN_WRAPPER_DIR}/vulkan_wrapper.cpp) target_include_directories(VulkanWrapper PUBLIC .) target_include_directories(VulkanWrapper PUBLIC "${VULKAN_INCLUDE_DIR}") target_link_libraries(VulkanWrapper ${CMAKE_DL_LIBS}) string(APPEND Vulkan_DEFINES " -DUSE_VULKAN_WRAPPER") list(APPEND Vulkan_INCLUDES ${VULKAN_WRAPPER_DIR}) list(APPEND Vulkan_LIBS VulkanWrapper) # Shaderc if(USE_VULKAN_SHADERC_RUNTIME) # Shaderc from ANDROID_NDK set(Shaderc_ANDROID_NDK_INCLUDE_DIR "${ANDROID_NDK}/sources/third_party/shaderc/include") message(STATUS "Shaderc_ANDROID_NDK_INCLUDE_DIR:${Shaderc_ANDROID_NDK_INCLUDE_DIR}") find_path( GOOGLE_SHADERC_INCLUDE_DIRS NAMES shaderc/shaderc.hpp PATHS "${Shaderc_ANDROID_NDK_INCLUDE_DIR}") set(Shaderc_ANDROID_NDK_LIB_DIR "${ANDROID_NDK}/sources/third_party/shaderc/libs/${ANDROID_STL}/${ANDROID_ABI}") message(STATUS "Shaderc_ANDROID_NDK_LIB_DIR:${Shaderc_ANDROID_NDK_LIB_DIR}") find_library( GOOGLE_SHADERC_LIBRARIES NAMES shaderc PATHS "${Shaderc_ANDROID_NDK_LIB_DIR}") # Shaderc in NDK is not prebuilt if(NOT GOOGLE_SHADERC_LIBRARIES) set(NDK_SHADERC_DIR "${ANDROID_NDK}/sources/third_party/shaderc") set(NDK_BUILD_CMD "${ANDROID_NDK}/ndk-build") execute_process( COMMAND ${NDK_BUILD_CMD} NDK_PROJECT_PATH=${NDK_SHADERC_DIR} APP_BUILD_SCRIPT=${NDK_SHADERC_DIR}/Android.mk APP_PLATFORM=${ANDROID_PLATFORM} APP_STL=${ANDROID_STL} APP_ABI=${ANDROID_ABI} libshaderc_combined -j8 WORKING_DIRECTORY "${NDK_SHADERC_DIR}" RESULT_VARIABLE error_code) if(error_code) message(FATAL_ERROR "Failed to build ANDROID_NDK Shaderc error_code:${error_code}") else() unset(GOOGLE_SHADERC_LIBRARIES CACHE) find_library( GOOGLE_SHADERC_LIBRARIES NAMES shaderc HINTS "${Shaderc_ANDROID_NDK_LIB_DIR}") endif() endif(NOT GOOGLE_SHADERC_LIBRARIES) if(GOOGLE_SHADERC_INCLUDE_DIRS AND GOOGLE_SHADERC_LIBRARIES) message(STATUS "Shaderc FOUND include:${GOOGLE_SHADERC_INCLUDE_DIRS}") message(STATUS "Shaderc FOUND libs:${GOOGLE_SHADERC_LIBRARIES}") endif() list(APPEND Vulkan_INCLUDES ${GOOGLE_SHADERC_INCLUDE_DIRS}) list(APPEND Vulkan_LIBS ${GOOGLE_SHADERC_LIBRARIES}) endif(USE_VULKAN_SHADERC_RUNTIME) else() find_package(Vulkan) if(NOT Vulkan_FOUND) message(FATAL_ERROR "USE_VULKAN requires either Vulkan installed on system path or environment var VULKAN_SDK set.") endif() list(APPEND Vulkan_INCLUDES ${Vulkan_INCLUDE_DIRS}) list(APPEND Vulkan_LIBS ${Vulkan_LIBRARIES}) set(GOOGLE_SHADERC_INCLUDE_SEARCH_PATH ${Vulkan_INCLUDE_DIR}) set(GOOGLE_SHADERC_LIBRARY_SEARCH_PATH ${Vulkan_LIBRARY}) if(USE_VULKAN_SHADERC_RUNTIME) find_path( GOOGLE_SHADERC_INCLUDE_DIRS NAMES shaderc/shaderc.hpp PATHS ${GOOGLE_SHADERC_INCLUDE_SEARCH_PATH}) find_library( GOOGLE_SHADERC_LIBRARIES NAMES shaderc_combined PATHS ${GOOGLE_SHADERC_LIBRARY_SEARCH_PATH}) find_package_handle_standard_args( Shaderc DEFAULT_MSG GOOGLE_SHADERC_INCLUDE_DIRS GOOGLE_SHADERC_LIBRARIES) if(NOT Shaderc_FOUND) message(FATAL_ERROR "USE_VULKAN: Shaderc not found in VULKAN_SDK") else() message(STATUS "shaderc FOUND include:${GOOGLE_SHADERC_INCLUDE_DIRS}") message(STATUS "shaderc FOUND libs:${GOOGLE_SHADERC_LIBRARIES}") endif() list(APPEND Vulkan_INCLUDES ${GOOGLE_SHADERC_INCLUDE_DIRS}) list(APPEND Vulkan_LIBS ${GOOGLE_SHADERC_LIBRARIES}) endif(USE_VULKAN_SHADERC_RUNTIME) endif()
CMake
4
Hacky-DH/pytorch
cmake/VulkanDependencies.cmake
[ "Intel" ]
sub Main() ' Tests createNodeByType is properly calling init methods on each child and respective component extensions node = createObject("roSGNode", "ExtendedComponent") ' Above will call all init methods in the following order: ' - Each children in the BaseComponent (because ExtendedComponent extends it) ' - BaseComponent own init method, this will also call start() in the context of ExtendedComponent ' - Each children in the ExtendedComponent ' - ExtendedComponent own init end sub
Brightscript
4
lkipke/brs
test/e2e/resources/components/componentExtension.brs
[ "MIT" ]
@import '../../styles/mixin.scss'; .g-doc { @include row-width-limit; margin: 0 auto .24rem; } .news-box .news-timeline .ant-timeline-item .ant-timeline-item-content{ min-width: 300px !important; width: 75% !important; }
SCSS
2
jiyeking/yapi
client/containers/Group/Group.scss
[ "Apache-2.0" ]
pragma solidity >=0.4.0;
Solidity
1
gammy55/linguist
test/fixtures/Generic/sol/Solidity/modern.sol
[ "MIT" ]
@import "ui-variables"; .salesforce-object-form-wrap { overflow-y: auto; } .salesforce-object-form { flex: 1; position: relative; .spinner { z-index: 1001; } .form-name { padding: 0 22px; h1 { margin: 22px 0; } } .form-footer { position: fixed; width: 100%; bottom: 0; z-index: 9999; } fieldset { &:last-child { margin-bottom: 44px; } position: relative; // z-index set by generated-form.cjsx border-bottom: 0; } &.schema-error { display: flex; color: @color-error; align-items: center; justify-content: center; max-width: 540px; margin: 0 auto; padding: 20px; } } .salesforce-delete-object { position: absolute; right: 0; padding: 22px 22px 0 22px; text-align: right; z-index: 10; background: white; &.confirm-control { padding-top: 12px; } }
Less
2
cnheider/nylas-mail
packages/client-app/internal_packages/nylas-private-salesforce/stylesheets/salesforce-object-form.less
[ "MIT" ]
open import Agda.Builtin.Nat data Tree : Set where ` : Nat → Tree _`+_ : Tree → Tree → Tree ⟦_⟧ : Tree → Nat ⟦ ` n ⟧ = n ⟦ t `+ u ⟧ = ⟦ t ⟧ + ⟦ u ⟧ data Target : Tree → Set where 0+_ : ∀ e → Target (` 0 `+ e) _+0 : ∀ e → Target (e `+ ` 0) [_] : ∀ e → Target e target : ∀ e → Target e target (` 0 `+ e) = 0+ e target (e `+ ` 0) = e +0 target e = [ e ] optimise : Tree → Tree structural : Tree → Tree optimise t with {structural t} | target (structural t) ... | 0+ e = e ... | e +0 = e ... | [ e ] = e structural (` n) = ` n structural (e `+ f) = optimise e `+ optimise f open import Agda.Builtin.Equality suc-cong : ∀ {m n} → m ≡ n → suc m ≡ suc n suc-cong refl = refl +-cong : ∀ {m n p q} → m ≡ n → p ≡ q → m + p ≡ n + q +-cong refl refl = refl trans : {m n p : Nat} → m ≡ n → n ≡ p → m ≡ p trans refl eq = eq m≡m+0 : ∀ m → m ≡ m + 0 m≡m+0 0 = refl m≡m+0 (suc m) = suc-cong (m≡m+0 m) optimise-sound : ∀ t → ⟦ optimise t ⟧ ≡ ⟦ t ⟧ structural-sound : ∀ t → ⟦ structural t ⟧ ≡ ⟦ t ⟧ optimise-sound t with {structural t} | target (structural t) | structural-sound t ... | 0+ e | eq = eq ... | e +0 | eq = trans (m≡m+0 ⟦ e ⟧) eq ... | [ e ] | eq = eq structural-sound (` n) = refl structural-sound (e `+ f) = +-cong (optimise-sound e) (optimise-sound f)
Agda
4
cruhland/agda
test/Succeed/implicit-with.agda
[ "MIT" ]
.*==============================================================*\ .* * .* Edit.ipf - Information Tag Language file for the Edit menu * .* help panels. * .* Copyright (C) 1996 xTech Ltd. All rights reserved. * .* Copyright 1991 IBM Corporation * .* * .*==============================================================*/ .*--------------------------------------------------------------*\ .* Main Edit menu * .* res = PANEL_EDIT * .*--------------------------------------------------------------*/ :h1 res=2310 name=PANEL_EDIT.Edit Menu :i1 id=Edit.Edit Menu :p.Enter text for the main Edit Menu help screen here. .*--------------------------------------------------------------*\ .* Edit menu Undo command help panel * .* res = PANEL_EDITUNDO * .*--------------------------------------------------------------*/ :h1 res=2320 name=PANEL_EDITUNDO.Undo :i2 refid=Edit.Undo :p. Place information for the Edit Undo menu item here. .*--------------------------------------------------------------*\ .* Edit menu Cut command help panel * .* res = PANEL_EDITCUT * .*--------------------------------------------------------------*/ :h1 res=2330 name=PANEL_EDITCUT.Cut :i2 refid=Edit.Cut :p.Place information for the Edit Cut menu item here. .*--------------------------------------------------------------*\ .* Edit menu Copy command help panel * .* res = PANEL_EDITCOPY * .*--------------------------------------------------------------*/ :h1 res=2340 name=PANEL_EDITCOPY.Copy :i2 refid=Edit.Copy :p.Place information for the Edit Copy menu item here. .*--------------------------------------------------------------*\ .* Edit menu Paste command help panel * .* res = PANEL_EDITPASTE * .*--------------------------------------------------------------*/ :h1 res=2350 name=PANEL_EDITPASTE.Paste :i2 refid=Edit.Paste :p.Place information for the Edit Paste menu item here. .*--------------------------------------------------------------*\ .* Edit menu Clear command help panel * .* res = PANEL_EDITCLEAR * .*--------------------------------------------------------------*/ :h1 res=2360 name=PANEL_EDITCLEAR.Clear :i2 refid=Edit.Clear :p.Place information for the Edit Clear menu item here.
IGOR Pro
3
zanud/xds-2.60
misc/Samples/OS2/Template/HLP/edit.ipf
[ "Apache-2.0" ]
// Hello World println "Hello world!" /* Variables: You can assign values to variables for later use */ def x = 1 println x x = new java.util.Date() println x x = -3.1499392 println x x = false println x x = "Groovy!" println x /* Collections and maps */ //Creating an empty list def technologies = [] /*** Adding a elements to the list ***/ // As with Java technologies.add("Grails") // Left shift adds, and returns the list technologies << "Groovy" // Add multiple elements technologies.addAll(["Gradle","Griffon"]) /*** Removing elements from the list ***/ // As with Java technologies.remove("Griffon") // Subtraction works also technologies = technologies - 'Grails' /*** Iterating Lists ***/ // Iterate over elements of a list technologies.each { println "Technology: $it"} technologies.eachWithIndex { it, i -> println "$i: $it"} /*** Checking List contents ***/ //Evaluate if a list contains element(s) (boolean) contained = technologies.contains( 'Groovy' ) // Or contained = 'Groovy' in technologies // To sort without mutating original, you can do: sortedTechnologies = technologies.sort( false ) //Replace all elements in the list Collections.replaceAll(technologies, 'Gradle', 'gradle') //Shuffle a list Collections.shuffle(technologies, new Random()) //Clear a list technologies.clear() //Creating an empty map def devMap = [:] //Add values devMap = ['name':'Roberto', 'framework':'Grails', 'language':'Groovy'] devMap.put('lastName','Perez') //Iterate over elements of a map devMap.each { println "$it.key: $it.value" } devMap.eachWithIndex { it, i -> println "$i: $it"} //Evaluate if a map contains a key assert devMap.containsKey('name') //Get the keys of a map println devMap.keySet() class Foo { // read only property final String name = "Roberto" // read only property with public getter and protected setter String language protected void setLanguage(String language) { this.language = language } // dynamically typed property def lastName } /* Logical Branching and Looping */ //Groovy supports the usual if - else syntax def x = 3 if(x==1) { println "One" } else if(x==2) { println "Two" } else { println "X greater than Two" } //Groovy also supports the ternary operator: def y = 10 def x = (y > 1) ? "worked" : "failed" assert x == "worked" //Groovy supports 'The Elvis Operator' too! //Instead of using the ternary operator: displayName = user.name ? user.name : 'Anonymous' //We can write it: displayName = user.name ?: 'Anonymous' //For loop //Iterate over a range def x = 0 for (i in 0 .. 30) { x += i } //Iterate over a list x = 0 for( i in [5,3,2,1] ) { x += i } //Iterate over an array array = (0..20).toArray() x = 0 for (i in array) { x += i } //Iterate over a map def map = ['name':'Roberto', 'framework':'Grails', 'language':'Groovy'] x = 0 for ( e in map ) { x += e.value } def technologies = ['Groovy','Grails','Gradle'] technologies*.toUpperCase() // = to technologies.collect { it?.toUpperCase() } def user = User.get(1) def username = user?.username def clos = { println "Hello World!" } def sum = { a, b -> println a+b } sum(2,4) def x = 5 def multiplyBy = { num -> num * x } println multiplyBy(10) def clos = { print it } clos( "hi" ) def cl = {a, b -> sleep(3000) // simulate some time consuming processing a + b } mem = cl.memoize() def callClosure(a, b) { def start = System.currentTimeMillis() mem(a, b) println "Inputs(a = $a, b = $b) - took ${System.currentTimeMillis() - start} msecs." } callClosure(1, 2) //Another example: import groovy.transform.TypeChecked @TypeChecked Integer test() { Integer num = "1" Integer[] numbers = [1,2,3,4] Date date = numbers[1] return "Test" } //CompileStatic example: import groovy.transform.CompileStatic @CompileStatic int sum(int x, int y) { x + y } assert sum(2,5) == 7
Groovy
5
sbj42/vscode
extensions/vscode-colorize-tests/test/colorize-fixtures/test.groovy
[ "MIT" ]
# invoke local::lib # default -- invoke local::lib for all users setenv PERL_HOMEDIR 1 # load our configs, aka opportunities to set PERL_HOMEDIR=0 if (-f /etc/sysconfig/perl-homedir) then eval `sed -ne 's|^[[:blank:]]*\([^#=]\{1,\}\)=\([^=]*\)|setenv \1 \2;|p' /etc/sysconfig/perl-homedir` endif if (-f "$HOME/.perl-homedir") then eval `sed -ne 's|^[[:blank:]]*\([^#=]\{1,\}\)=\([^=]*\)|setenv \1 \2;|p' "$HOME/.perl-homedir"` endif alias perlll 'eval "`perl -Mlocal::lib`"' # if system default if ("x$PERL_HOMEDIR" == "x1") then eval "`perl -Mlocal::lib`" endif
Tcsh
3
slowy07/CBL-Mariner
SPECS/perl-local-lib/perl-homedir.csh
[ "MIT" ]
namespace OpenAPI open OpenAPI.Model.ApiResponse open OpenAPI.Model.Pet open PetApiHandlerParams open PetApiServiceInterface open System.Collections.Generic open System open Giraffe module PetApiServiceImplementation = //#region Service implementation type PetApiServiceImpl() = interface IPetApiService with member this.AddPet ctx args = if true then let content = "successful operation" :> obj :?> Pet // this cast is obviously wrong, and is only intended to allow generated project to compile AddPetStatusCode200 { content = content } else let content = "Invalid input" AddPetStatusCode405 { content = content } member this.DeletePet ctx args = let content = "Invalid pet value" DeletePetStatusCode400 { content = content } member this.FindPetsByStatus ctx args = if true then let content = "successful operation" :> obj :?> Pet[] // this cast is obviously wrong, and is only intended to allow generated project to compile FindPetsByStatusStatusCode200 { content = content } else let content = "Invalid status value" FindPetsByStatusStatusCode400 { content = content } member this.FindPetsByTags ctx args = if true then let content = "successful operation" :> obj :?> Pet[] // this cast is obviously wrong, and is only intended to allow generated project to compile FindPetsByTagsStatusCode200 { content = content } else let content = "Invalid tag value" FindPetsByTagsStatusCode400 { content = content } member this.GetPetById ctx args = if true then let content = "successful operation" :> obj :?> Pet // this cast is obviously wrong, and is only intended to allow generated project to compile GetPetByIdStatusCode200 { content = content } else if true then let content = "Invalid ID supplied" GetPetByIdStatusCode400 { content = content } else let content = "Pet not found" GetPetByIdStatusCode404 { content = content } member this.UpdatePet ctx args = if true then let content = "successful operation" :> obj :?> Pet // this cast is obviously wrong, and is only intended to allow generated project to compile UpdatePetStatusCode200 { content = content } else if true then let content = "Invalid ID supplied" UpdatePetStatusCode400 { content = content } else if true then let content = "Pet not found" UpdatePetStatusCode404 { content = content } else let content = "Validation exception" UpdatePetStatusCode405 { content = content } member this.UpdatePetWithForm ctx args = let content = "Invalid input" UpdatePetWithFormStatusCode405 { content = content } member this.UploadFile ctx args = let content = "successful operation" :> obj :?> ApiResponse // this cast is obviously wrong, and is only intended to allow generated project to compile UploadFileStatusCode200 { content = content } //#endregion let PetApiService = PetApiServiceImpl() :> IPetApiService
F#
4
JigarJoshi/openapi-generator
samples/server/petstore/fsharp-giraffe/OpenAPI/src/impl/PetApiService.fs
[ "Apache-2.0" ]
# Based on https://github.com/justinwoo/easy-purescript-nix/blob/master/psc-package-simple.nix { stdenv, lib, fetchurl, gmp, zlib, libiconv, darwin, installShellFiles }: let dynamic-linker = stdenv.cc.bintools.dynamicLinker; in stdenv.mkDerivation rec { pname = "psc-package-simple"; version = "0.6.2"; src = if stdenv.isDarwin then fetchurl { url = "https://github.com/purescript/psc-package/releases/download/v0.6.2/macos.tar.gz"; sha256 = "17dh3bc5b6ahfyx0pi6n9qnrhsyi83qdynnca6k1kamxwjimpcq1"; } else fetchurl { url = "https://github.com/purescript/psc-package/releases/download/v0.6.2/linux64.tar.gz"; sha256 = "1zvay9q3xj6yd76w6qyb9la4jaj9zvpf4dp78xcznfqbnbhm1a54"; }; buildInputs = [ gmp zlib ]; nativeBuildInputs = [ installShellFiles ]; libPath = lib.makeLibraryPath buildInputs; dontStrip = true; installPhase = '' mkdir -p $out/bin PSC_PACKAGE=$out/bin/psc-package install -D -m555 -T psc-package $PSC_PACKAGE chmod u+w $PSC_PACKAGE '' + lib.optionalString stdenv.isDarwin '' install_name_tool \ -change /usr/lib/libSystem.B.dylib ${darwin.Libsystem}/lib/libSystem.B.dylib \ -change /usr/lib/libiconv.2.dylib ${libiconv}/libiconv.2.dylib \ $PSC_PACKAGE '' + lib.optionalString (!stdenv.isDarwin) '' patchelf --interpreter ${dynamic-linker} --set-rpath ${libPath} $PSC_PACKAGE '' + '' chmod u-w $PSC_PACKAGE installShellCompletion --cmd psc-package \ --bash <($PSC_PACKAGE --bash-completion-script $PSC_PACKAGE) \ --fish <($PSC_PACKAGE --fish-completion-script $PSC_PACKAGE) \ --zsh <($PSC_PACKAGE --zsh-completion-script $PSC_PACKAGE) ''; meta = with lib; { description = "A package manager for PureScript based on package sets"; license = licenses.bsd3; maintainers = with maintainers; [ Profpatsch ]; platforms = [ "x86_64-darwin" "x86_64-linux" ]; }; }
Nix
5
collinwright/nixpkgs
pkgs/development/compilers/purescript/psc-package/default.nix
[ "MIT" ]
default { state_entry() { llTargetOmega( < 0, 1, 1 >, .2 * PI, 1.0 ); } }
LSL
3
MandarinkaTasty/OpenSim
bin/assets/ScriptsAssetSet/KanEd-Test06.lsl
[ "BSD-3-Clause" ]
$(OBJDIR)/simplify.cmi: $(OBJDIR)/cil.cmi
D
2
heechul/crest-z3
cil/obj/.depend/simplify.di
[ "BSD-3-Clause" ]
#!/usr/bin/env bash CONST_refs="refs" TRIGGER_REASON_A=${TRIGGER_REASON:0:${#CONST_refs}} if [ $TRIGGER_REASON_A != $CONST_refs ]; then echo "not a tag: $TRIGGER_REASON_A" exit fi CONST_refsB="refs/tags/" TRIGGER_REASON_B=${TRIGGER_REASON:0:${#CONST_refsB}} if [ $TRIGGER_REASON_B != $CONST_refsB ]; then echo "not a tag (B)" exit fi GITHUB_RELEASE_TAG=${TRIGGER_REASON:${#CONST_refsB}:25} echo ${GITHUB_RELEASE_TAG} RELEASE_DATA=$(curl -H "Authorization: token ${GITHUB_TOKEN}" -X GET https://api.github.com/repos/v2fly/v2ray-core/releases/tags/${GITHUB_RELEASE_TAG}) echo $RELEASE_DATA RELEASE_ID=$(echo $RELEASE_DATA | jq ".id") echo $RELEASE_ID function uploadfile() { FILE=$1 CTYPE=$(file -b --mime-type $FILE) sleep 1 curl -H "Authorization: token ${GITHUB_TOKEN}" -H "Content-Type: ${CTYPE}" --data-binary @$FILE "https://uploads.github.com/repos/v2fly/v2ray-core/releases/${RELEASE_ID}/assets?name=$(basename $FILE)" sleep 1 } function upload() { FILE=$1 DGST=$1.dgst openssl dgst -md5 $FILE | sed 's/([^)]*)//g' >>$DGST openssl dgst -sha1 $FILE | sed 's/([^)]*)//g' >>$DGST openssl dgst -sha256 $FILE | sed 's/([^)]*)//g' >>$DGST openssl dgst -sha512 $FILE | sed 's/([^)]*)//g' >>$DGST uploadfile $FILE uploadfile $DGST } ART_ROOT=${WORKDIR}/bazel-bin/release pushd ${ART_ROOT} { go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen version "${GITHUB_RELEASE_TAG}" go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen project "v2fly" go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-macos-64.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-windows-64.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-windows-32.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-windows-arm32-v7a.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-64.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-32.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-arm64-v8a.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-arm32-v7a.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-arm32-v6.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-arm32-v5.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-mips64.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-mips64le.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-mips32.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-mips32le.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-ppc64.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-ppc64le.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-riscv64.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-linux-s390x.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-freebsd-64.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-freebsd-32.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-openbsd-64.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-openbsd-32.zip go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen file v2ray-dragonfly-64.zip } >Release.unsigned.unsorted go run github.com/xiaokangwang/V2BuildAssist/v2buildutil gen sort <Release.unsigned.unsorted >Release.unsigned popd upload ${ART_ROOT}/v2ray-macos-64.zip upload ${ART_ROOT}/v2ray-windows-64.zip upload ${ART_ROOT}/v2ray-windows-32.zip upload ${ART_ROOT}/v2ray-windows-arm32-v7a.zip upload ${ART_ROOT}/v2ray-linux-64.zip upload ${ART_ROOT}/v2ray-linux-32.zip upload ${ART_ROOT}/v2ray-linux-arm64-v8a.zip upload ${ART_ROOT}/v2ray-linux-arm32-v7a.zip upload ${ART_ROOT}/v2ray-linux-arm32-v6.zip upload ${ART_ROOT}/v2ray-linux-arm32-v5.zip upload ${ART_ROOT}/v2ray-linux-mips64.zip upload ${ART_ROOT}/v2ray-linux-mips64le.zip upload ${ART_ROOT}/v2ray-linux-mips32.zip upload ${ART_ROOT}/v2ray-linux-mips32le.zip upload ${ART_ROOT}/v2ray-linux-ppc64.zip upload ${ART_ROOT}/v2ray-linux-ppc64le.zip upload ${ART_ROOT}/v2ray-linux-riscv64.zip upload ${ART_ROOT}/v2ray-linux-s390x.zip upload ${ART_ROOT}/v2ray-freebsd-64.zip upload ${ART_ROOT}/v2ray-freebsd-32.zip upload ${ART_ROOT}/v2ray-openbsd-64.zip upload ${ART_ROOT}/v2ray-openbsd-32.zip upload ${ART_ROOT}/v2ray-dragonfly-64.zip upload ${ART_ROOT}/Release.unsigned
Shell
3
sjf10050/v2ray-core
release/tagrelease.sh
[ "MIT" ]
quine ** Written by Jason Reed >>+>>+++++>>++>>+++>>+>>++++++>>++>>++>>++>>+++++>>+>>++++>> +>>+++>>+>>+>>++>>++>>+>>+>>+>>+++>>+>>++++++>>+++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++>>+>>++>>++ +++++>>+++++++++++++++++++>>++++>>+>>++>>+>>+++++>>+>>++++>> +>>+++>>+>>+++++++>>+>>++>>+>>++++++>>+>>+++>>+>>+++++>>+>>+ +++>>+>>++++++>>+>>+++>>+>>+++++>>+>>++++>>+>>++>>+>>+>>+>>+ ++>>+>>++++++>>+++>>++>>+>>++++++>>++>>+++>>+>>+++++>>+>>+++ +>>+>>+++>>+>>+>>+>>++>>+>>+++++>>+>>+++>>+>>++++>>+>>++++++ >>+>>++>>+>>+++++>>+>>++>>+>>++++++>>++>>+++>>+>>+++++>>+>>+ +>>+++++++++++++++++++++++++++++++++++++++++++++++++>>+>>+>> +++>>+>>++++>>+>>++++++>>+++>>+++>>+>>++++++>>++++>>++>>+>>+ ++++>>+>>++++>>+>>+++>>+>>+>>+>>++>>+>>+++++>>+>>+++>>+>>+++ +>>+>>++++++>>+>>++>>+>>+++++>>+>>++>>+>>++++++>>++>>+++>>+> >+++++>>+>>++>>+++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++>>+>>+>>+++>>+>>++++>>+>>++++++>>+++++ >>++>>+>>++++++>>++++>>+++>>+>>+++++>>+>>++++>>+>>+++>>+>>+> >+>>++>>+>>+++++>>+>>+++>>+>>++++>>+>>++++++>>+>>++>>+>>++++ +>>+>>++>>+>>++++++>>++>>+++>>+>>+++++>>+>>++>>+++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++>>+>>+>>+ ++>>+>>++++>>+>>++++++>>+++>>+++>>+>>++++++>>++++>>++>>+>>++ +++>>+>>++++>>+>>+++>>+>>+>>+>>++>>+>>+++++>>+>>+++>>+>>++++ >>+>>++++++>>+>>++>>+>>+++++>>+>>++>>+>>++++++>>++>>+++>>+>> +++++>>+>>++>>++++++++++++++++++++++++++++++++++++++++++++++ ++>>+>>+>>+++>>+>>++++>>+>>++++++>>+++++>>++>>+>>++++++>>+++ +>>+++>>+>>+++++>>+>>++++>>+>>+++>>+>>+>>+>>++>>+>>+++++>>+> >+++>>+>>++++>>+>>++++++>>+>>++>>+>>+++++>>+>>++>>+>>++++++> >++>>+++>>+>>+++++>>+>>++>>+++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>+>>+>>+++>>+>>++++>>+>>++++++>>+++>>+++>>+>>++++++>>++++>> ++>>+>>+++++>>+>>++++>>+>>+++>>+>>+>>+>>++>>+>>+++++>>+>>+++ >>+>>++++>>+>>++++++>>+>>++>>+>>+++++>>+>>++>>+>>++++++>>++> >+++>>+>>+++++>>+>>++>>+++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++>>+ >>+>>+++>>+>>++++>>+>>++++++>>+++++>>++>>+>>++++++>>++++>>++ +>>+>>+++++>>+>>++++>>+>>+++>>+>>+>>+>>++>>+>>+++++>>+>>+++> >+>>++++>>+>>++++++>>+>>++>>+>>+++++>>+>>++>>+>>++++++>>++>> +++>>+>>+++++>>+>>++>>++++++++++++++++++++++++++++++++++++++ ++++++++>>+>>+>>+++>>+>>++++>>+>>++++++>>+++>>+++>>+>>++++++ >>++>>++>>++>>+++++>>+>>++++>>++>>++>>+>>+++++++>>++>>+++>>+ >>++++++>>++++>>++>>+>>++++++[<<]>>[[-<+>>+<]+++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++..----------- -------->[-<.>]<[-]<[->+<]>>>]<<[-<+>[<-]>[>]<<[>+++++++++++ ++++++++++++++++++++++++++++++++++++++<-]<<<]>>>>[-<+>[<-]>[ >]<<[>++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++<-]>>>>>]<<<<[-<+>[<-]>[>]<<[>+++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++<-]<<<]>>>>[- <+>[<-]>[>]<<[>+++++++++++++++++++++++++++++++++++++++++++++ +++<-]>>>>>]<<<<[-<+>[<-]>[>]<<[>+++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++<-]<<<]>>>>[-<+>[<-]>[>]<<[>++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++<-]>>>>>]<<<<[-<+>[<-]>[>]<<[>++++++++++++++++++++++ ++++++++++++++++++++++++<-]<<<]>>[[->>.<<]>>>>]
Brainfuck
3
RubenNL/brainheck
examples/quine/quine-jr.bf
[ "Apache-2.0" ]
// Daniel Shiffman // http://codingtra.in // http://patreon.com/codingtrain //Videos //Part 1: //https://www.youtube.com/watch?v=OJxEcs0w_kE //Part 2: //https://www.youtube.com/watch?v=QQx_NmCIuCY //This code is only part 1 video of the challenge. Quadtree qtree; public void setup (){ size(400 ,400); background(0); qtree = new Quadtree (new Rectangle (width/2 , height/2 , width/2 , height/2) , 4); } public void draw (){ if(mousePressed){ for (int i = 0 ; i < 5 ; i++){ qtree.insert(new Point ( mouseX +random(-5,5) , mouseY+random(-5,5))); } } qtree.show(); }
Processing
4
aerinkayne/website
CodingChallenges/CC_098.1_QuadTree/Processing/CC_098.1_QuadTree/CC_098.1_QuadTree.pde
[ "MIT" ]
# need genmsg for _prepend_path() find_package(genmsg REQUIRED) include(CMakeParseArguments) @[if DEVELSPACE]@ # program in develspace set(GENACTION_BIN "@(CMAKE_CURRENT_SOURCE_DIR)/scripts/genaction.py") @[else]@ # program in installspace set(GENACTION_BIN "${actionlib_msgs_DIR}/../../../@(CATKIN_PACKAGE_BIN_DESTINATION)/genaction.py") @[end if]@ macro(add_action_files) cmake_parse_arguments(ARG "NOINSTALL" "DIRECTORY" "FILES" ${ARGN}) if(ARG_UNPARSED_ARGUMENTS) message(FATAL_ERROR "add_action_files() called with unused arguments: ${ARG_UNPARSED_ARGUMENTS}") endif() if(NOT ARG_DIRECTORY) set(ARG_DIRECTORY "action") endif() if(NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${ARG_DIRECTORY}) message(FATAL_ERROR "add_action_files() directory not found: ${CMAKE_CURRENT_SOURCE_DIR}/${ARG_DIRECTORY}") endif() # if FILES are not passed search action files in the given directory # note: ARGV is not variable, so it can not be passed to list(FIND) directly set(_argv ${ARGV}) list(FIND _argv "FILES" _index) if(_index EQUAL -1) file(GLOB ARG_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/${ARG_DIRECTORY}" "${CMAKE_CURRENT_SOURCE_DIR}/${ARG_DIRECTORY}/*.action") list(SORT ARG_FILES) endif() _prepend_path(${CMAKE_CURRENT_SOURCE_DIR}/${ARG_DIRECTORY} "${ARG_FILES}" FILES_W_PATH) list(APPEND ${PROJECT_NAME}_ACTION_FILES ${FILES_W_PATH}) foreach(file ${FILES_W_PATH}) assert_file_exists(${file} "action file not found") endforeach() if(NOT ARG_NOINSTALL) install(FILES ${FILES_W_PATH} DESTINATION share/${PROJECT_NAME}/${ARG_DIRECTORY}) endif() foreach(actionfile ${FILES_W_PATH}) if(NOT CATKIN_DEVEL_PREFIX) message(FATAL_ERROR "Assertion failed: 'CATKIN_DEVEL_PREFIX' is not set") endif() get_filename_component(ACTION_SHORT_NAME ${actionfile} NAME_WE) set(MESSAGE_DIR ${CATKIN_DEVEL_PREFIX}/share/${PROJECT_NAME}/msg) set(OUTPUT_FILES ${ACTION_SHORT_NAME}Action.msg ${ACTION_SHORT_NAME}ActionGoal.msg ${ACTION_SHORT_NAME}ActionResult.msg ${ACTION_SHORT_NAME}ActionFeedback.msg ${ACTION_SHORT_NAME}Goal.msg ${ACTION_SHORT_NAME}Result.msg ${ACTION_SHORT_NAME}Feedback.msg) _prepend_path(${MESSAGE_DIR}/ "${OUTPUT_FILES}" OUTPUT_FILES_W_PATH) message(STATUS "Generating .msg files for action ${PROJECT_NAME}/${ACTION_SHORT_NAME} ${actionfile}") stamp(${actionfile}) if(NOT CATKIN_ENV) message(FATAL_ERROR "Assertion failed: 'CATKIN_ENV' is not set") endif() if(${actionfile} IS_NEWER_THAN ${MESSAGE_DIR}/${ACTION_SHORT_NAME}Action.msg) safe_execute_process(COMMAND ${CATKIN_ENV} ${PYTHON_EXECUTABLE} ${GENACTION_BIN} ${actionfile} -o ${MESSAGE_DIR}) endif() add_message_files( BASE_DIR ${MESSAGE_DIR} FILES ${OUTPUT_FILES}) endforeach() endmacro()
EmberScript
5
numberen/apollo-platform
ros/common_msgs/actionlib_msgs/cmake/actionlib_msgs-extras.cmake.em
[ "Apache-2.0" ]
// Exploit.cpp : Defines the entry point for the console application. // #include <Windows.h> #include "Exploit.h" #include "Exploiter.h" static VOID ExecutePayload(LPVOID lpPayload) { VOID(*lpCode)() = (VOID(*)())lpPayload; lpCode(); return; } VOID Exploit(LPVOID lpPayload) { PrivEsc(); ExecutePayload(lpPayload); }
C++
1
OsmanDere/metasploit-framework
external/source/exploits/cve-2018-8897/dll/rdi/src/Exploit.cpp
[ "BSD-2-Clause", "BSD-3-Clause" ]
rebol [ type: module name: test-1203 title: "test-1203" ] s: system/script f: does[s]
Rebol
1
0branch/r3
src/tests/units/files/test-1203.reb
[ "Apache-2.0" ]
#500 blocking~ 1 d 0 184 -1 A 13 1 R 103 5 # 5x a yellow lightning stone S $
Augeas
0
EmpireMUD/EmpireMUD-2.0-Beta
lib/world/aug/5.aug
[ "DOC", "Unlicense" ]
.@{fa-css-prefix}.@{fa-css-prefix}-glass:before { content: @fa-var-glass-martini; } .@{fa-css-prefix}.@{fa-css-prefix}-meetup { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-star-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-star-o:before { content: @fa-var-star; } .@{fa-css-prefix}.@{fa-css-prefix}-remove:before { content: @fa-var-times; } .@{fa-css-prefix}.@{fa-css-prefix}-close:before { content: @fa-var-times; } .@{fa-css-prefix}.@{fa-css-prefix}-gear:before { content: @fa-var-cog; } .@{fa-css-prefix}.@{fa-css-prefix}-trash-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-trash-o:before { content: @fa-var-trash-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-file-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-o:before { content: @fa-var-file; } .@{fa-css-prefix}.@{fa-css-prefix}-clock-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-clock-o:before { content: @fa-var-clock; } .@{fa-css-prefix}.@{fa-css-prefix}-arrow-circle-o-down { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-arrow-circle-o-down:before { content: @fa-var-arrow-alt-circle-down; } .@{fa-css-prefix}.@{fa-css-prefix}-arrow-circle-o-up { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-arrow-circle-o-up:before { content: @fa-var-arrow-alt-circle-up; } .@{fa-css-prefix}.@{fa-css-prefix}-play-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-play-circle-o:before { content: @fa-var-play-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-repeat:before { content: @fa-var-redo; } .@{fa-css-prefix}.@{fa-css-prefix}-rotate-right:before { content: @fa-var-redo; } .@{fa-css-prefix}.@{fa-css-prefix}-refresh:before { content: @fa-var-sync; } .@{fa-css-prefix}.@{fa-css-prefix}-list-alt { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-dedent:before { content: @fa-var-outdent; } .@{fa-css-prefix}.@{fa-css-prefix}-video-camera:before { content: @fa-var-video; } .@{fa-css-prefix}.@{fa-css-prefix}-picture-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-picture-o:before { content: @fa-var-image; } .@{fa-css-prefix}.@{fa-css-prefix}-photo { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-photo:before { content: @fa-var-image; } .@{fa-css-prefix}.@{fa-css-prefix}-image { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-image:before { content: @fa-var-image; } .@{fa-css-prefix}.@{fa-css-prefix}-pencil:before { content: @fa-var-pencil-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-map-marker:before { content: @fa-var-map-marker-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-pencil-square-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-pencil-square-o:before { content: @fa-var-edit; } .@{fa-css-prefix}.@{fa-css-prefix}-share-square-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-share-square-o:before { content: @fa-var-share-square; } .@{fa-css-prefix}.@{fa-css-prefix}-check-square-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-check-square-o:before { content: @fa-var-check-square; } .@{fa-css-prefix}.@{fa-css-prefix}-arrows:before { content: @fa-var-arrows-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-times-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-times-circle-o:before { content: @fa-var-times-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-check-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-check-circle-o:before { content: @fa-var-check-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-mail-forward:before { content: @fa-var-share; } .@{fa-css-prefix}.@{fa-css-prefix}-expand:before { content: @fa-var-expand-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-compress:before { content: @fa-var-compress-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-eye { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-eye-slash { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-warning:before { content: @fa-var-exclamation-triangle; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar:before { content: @fa-var-calendar-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-arrows-v:before { content: @fa-var-arrows-alt-v; } .@{fa-css-prefix}.@{fa-css-prefix}-arrows-h:before { content: @fa-var-arrows-alt-h; } .@{fa-css-prefix}.@{fa-css-prefix}-bar-chart { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bar-chart:before { content: @fa-var-chart-bar; } .@{fa-css-prefix}.@{fa-css-prefix}-bar-chart-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bar-chart-o:before { content: @fa-var-chart-bar; } .@{fa-css-prefix}.@{fa-css-prefix}-twitter-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-facebook-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-gears:before { content: @fa-var-cogs; } .@{fa-css-prefix}.@{fa-css-prefix}-thumbs-o-up { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-thumbs-o-up:before { content: @fa-var-thumbs-up; } .@{fa-css-prefix}.@{fa-css-prefix}-thumbs-o-down { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-thumbs-o-down:before { content: @fa-var-thumbs-down; } .@{fa-css-prefix}.@{fa-css-prefix}-heart-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-heart-o:before { content: @fa-var-heart; } .@{fa-css-prefix}.@{fa-css-prefix}-sign-out:before { content: @fa-var-sign-out-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-linkedin-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-linkedin-square:before { content: @fa-var-linkedin; } .@{fa-css-prefix}.@{fa-css-prefix}-thumb-tack:before { content: @fa-var-thumbtack; } .@{fa-css-prefix}.@{fa-css-prefix}-external-link:before { content: @fa-var-external-link-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-sign-in:before { content: @fa-var-sign-in-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-github-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-lemon-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-lemon-o:before { content: @fa-var-lemon; } .@{fa-css-prefix}.@{fa-css-prefix}-square-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-square-o:before { content: @fa-var-square; } .@{fa-css-prefix}.@{fa-css-prefix}-bookmark-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bookmark-o:before { content: @fa-var-bookmark; } .@{fa-css-prefix}.@{fa-css-prefix}-twitter { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-facebook { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-facebook:before { content: @fa-var-facebook-f; } .@{fa-css-prefix}.@{fa-css-prefix}-facebook-f { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-facebook-f:before { content: @fa-var-facebook-f; } .@{fa-css-prefix}.@{fa-css-prefix}-github { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-credit-card { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-feed:before { content: @fa-var-rss; } .@{fa-css-prefix}.@{fa-css-prefix}-hdd-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hdd-o:before { content: @fa-var-hdd; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-o-right { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-o-right:before { content: @fa-var-hand-point-right; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-o-left { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-o-left:before { content: @fa-var-hand-point-left; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-o-up { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-o-up:before { content: @fa-var-hand-point-up; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-o-down { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-o-down:before { content: @fa-var-hand-point-down; } .@{fa-css-prefix}.@{fa-css-prefix}-arrows-alt:before { content: @fa-var-expand-arrows-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-group:before { content: @fa-var-users; } .@{fa-css-prefix}.@{fa-css-prefix}-chain:before { content: @fa-var-link; } .@{fa-css-prefix}.@{fa-css-prefix}-scissors:before { content: @fa-var-cut; } .@{fa-css-prefix}.@{fa-css-prefix}-files-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-files-o:before { content: @fa-var-copy; } .@{fa-css-prefix}.@{fa-css-prefix}-floppy-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-floppy-o:before { content: @fa-var-save; } .@{fa-css-prefix}.@{fa-css-prefix}-navicon:before { content: @fa-var-bars; } .@{fa-css-prefix}.@{fa-css-prefix}-reorder:before { content: @fa-var-bars; } .@{fa-css-prefix}.@{fa-css-prefix}-pinterest { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-pinterest-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-google-plus-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-google-plus { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-google-plus:before { content: @fa-var-google-plus-g; } .@{fa-css-prefix}.@{fa-css-prefix}-money { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-money:before { content: @fa-var-money-bill-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-unsorted:before { content: @fa-var-sort; } .@{fa-css-prefix}.@{fa-css-prefix}-sort-desc:before { content: @fa-var-sort-down; } .@{fa-css-prefix}.@{fa-css-prefix}-sort-asc:before { content: @fa-var-sort-up; } .@{fa-css-prefix}.@{fa-css-prefix}-linkedin { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-linkedin:before { content: @fa-var-linkedin-in; } .@{fa-css-prefix}.@{fa-css-prefix}-rotate-left:before { content: @fa-var-undo; } .@{fa-css-prefix}.@{fa-css-prefix}-legal:before { content: @fa-var-gavel; } .@{fa-css-prefix}.@{fa-css-prefix}-tachometer:before { content: @fa-var-tachometer-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-dashboard:before { content: @fa-var-tachometer-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-comment-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-comment-o:before { content: @fa-var-comment; } .@{fa-css-prefix}.@{fa-css-prefix}-comments-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-comments-o:before { content: @fa-var-comments; } .@{fa-css-prefix}.@{fa-css-prefix}-flash:before { content: @fa-var-bolt; } .@{fa-css-prefix}.@{fa-css-prefix}-clipboard { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-paste { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-paste:before { content: @fa-var-clipboard; } .@{fa-css-prefix}.@{fa-css-prefix}-lightbulb-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-lightbulb-o:before { content: @fa-var-lightbulb; } .@{fa-css-prefix}.@{fa-css-prefix}-exchange:before { content: @fa-var-exchange-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-cloud-download:before { content: @fa-var-cloud-download-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-cloud-upload:before { content: @fa-var-cloud-upload-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-bell-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bell-o:before { content: @fa-var-bell; } .@{fa-css-prefix}.@{fa-css-prefix}-cutlery:before { content: @fa-var-utensils; } .@{fa-css-prefix}.@{fa-css-prefix}-file-text-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-text-o:before { content: @fa-var-file-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-building-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-building-o:before { content: @fa-var-building; } .@{fa-css-prefix}.@{fa-css-prefix}-hospital-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hospital-o:before { content: @fa-var-hospital; } .@{fa-css-prefix}.@{fa-css-prefix}-tablet:before { content: @fa-var-tablet-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-mobile:before { content: @fa-var-mobile-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-mobile-phone:before { content: @fa-var-mobile-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-circle-o:before { content: @fa-var-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-mail-reply:before { content: @fa-var-reply; } .@{fa-css-prefix}.@{fa-css-prefix}-github-alt { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-folder-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-folder-o:before { content: @fa-var-folder; } .@{fa-css-prefix}.@{fa-css-prefix}-folder-open-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-folder-open-o:before { content: @fa-var-folder-open; } .@{fa-css-prefix}.@{fa-css-prefix}-smile-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-smile-o:before { content: @fa-var-smile; } .@{fa-css-prefix}.@{fa-css-prefix}-frown-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-frown-o:before { content: @fa-var-frown; } .@{fa-css-prefix}.@{fa-css-prefix}-meh-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-meh-o:before { content: @fa-var-meh; } .@{fa-css-prefix}.@{fa-css-prefix}-keyboard-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-keyboard-o:before { content: @fa-var-keyboard; } .@{fa-css-prefix}.@{fa-css-prefix}-flag-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-flag-o:before { content: @fa-var-flag; } .@{fa-css-prefix}.@{fa-css-prefix}-mail-reply-all:before { content: @fa-var-reply-all; } .@{fa-css-prefix}.@{fa-css-prefix}-star-half-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-star-half-o:before { content: @fa-var-star-half; } .@{fa-css-prefix}.@{fa-css-prefix}-star-half-empty { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-star-half-empty:before { content: @fa-var-star-half; } .@{fa-css-prefix}.@{fa-css-prefix}-star-half-full { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-star-half-full:before { content: @fa-var-star-half; } .@{fa-css-prefix}.@{fa-css-prefix}-code-fork:before { content: @fa-var-code-branch; } .@{fa-css-prefix}.@{fa-css-prefix}-chain-broken:before { content: @fa-var-unlink; } .@{fa-css-prefix}.@{fa-css-prefix}-shield:before { content: @fa-var-shield-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-o:before { content: @fa-var-calendar; } .@{fa-css-prefix}.@{fa-css-prefix}-maxcdn { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-html5 { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-css3 { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-ticket:before { content: @fa-var-ticket-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-minus-square-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-minus-square-o:before { content: @fa-var-minus-square; } .@{fa-css-prefix}.@{fa-css-prefix}-level-up:before { content: @fa-var-level-up-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-level-down:before { content: @fa-var-level-down-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-pencil-square:before { content: @fa-var-pen-square; } .@{fa-css-prefix}.@{fa-css-prefix}-external-link-square:before { content: @fa-var-external-link-square-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-compass { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-caret-square-o-down { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-caret-square-o-down:before { content: @fa-var-caret-square-down; } .@{fa-css-prefix}.@{fa-css-prefix}-toggle-down { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-toggle-down:before { content: @fa-var-caret-square-down; } .@{fa-css-prefix}.@{fa-css-prefix}-caret-square-o-up { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-caret-square-o-up:before { content: @fa-var-caret-square-up; } .@{fa-css-prefix}.@{fa-css-prefix}-toggle-up { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-toggle-up:before { content: @fa-var-caret-square-up; } .@{fa-css-prefix}.@{fa-css-prefix}-caret-square-o-right { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-caret-square-o-right:before { content: @fa-var-caret-square-right; } .@{fa-css-prefix}.@{fa-css-prefix}-toggle-right { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-toggle-right:before { content: @fa-var-caret-square-right; } .@{fa-css-prefix}.@{fa-css-prefix}-eur:before { content: @fa-var-euro-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-euro:before { content: @fa-var-euro-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-gbp:before { content: @fa-var-pound-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-usd:before { content: @fa-var-dollar-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-dollar:before { content: @fa-var-dollar-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-inr:before { content: @fa-var-rupee-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-rupee:before { content: @fa-var-rupee-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-jpy:before { content: @fa-var-yen-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-cny:before { content: @fa-var-yen-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-rmb:before { content: @fa-var-yen-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-yen:before { content: @fa-var-yen-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-rub:before { content: @fa-var-ruble-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-ruble:before { content: @fa-var-ruble-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-rouble:before { content: @fa-var-ruble-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-krw:before { content: @fa-var-won-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-won:before { content: @fa-var-won-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-btc { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bitcoin { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bitcoin:before { content: @fa-var-btc; } .@{fa-css-prefix}.@{fa-css-prefix}-file-text:before { content: @fa-var-file-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-sort-alpha-asc:before { content: @fa-var-sort-alpha-down; } .@{fa-css-prefix}.@{fa-css-prefix}-sort-alpha-desc:before { content: @fa-var-sort-alpha-down-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-down; } .@{fa-css-prefix}.@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-down-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-sort-numeric-asc:before { content: @fa-var-sort-numeric-down; } .@{fa-css-prefix}.@{fa-css-prefix}-sort-numeric-desc:before { content: @fa-var-sort-numeric-down-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-youtube-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-youtube { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-xing { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-xing-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-youtube-play { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-youtube-play:before { content: @fa-var-youtube; } .@{fa-css-prefix}.@{fa-css-prefix}-dropbox { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-stack-overflow { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-instagram { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-flickr { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-adn { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bitbucket { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bitbucket-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bitbucket-square:before { content: @fa-var-bitbucket; } .@{fa-css-prefix}.@{fa-css-prefix}-tumblr { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-tumblr-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-long-arrow-down:before { content: @fa-var-long-arrow-alt-down; } .@{fa-css-prefix}.@{fa-css-prefix}-long-arrow-up:before { content: @fa-var-long-arrow-alt-up; } .@{fa-css-prefix}.@{fa-css-prefix}-long-arrow-left:before { content: @fa-var-long-arrow-alt-left; } .@{fa-css-prefix}.@{fa-css-prefix}-long-arrow-right:before { content: @fa-var-long-arrow-alt-right; } .@{fa-css-prefix}.@{fa-css-prefix}-apple { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-windows { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-android { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-linux { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-dribbble { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-skype { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-foursquare { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-trello { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-gratipay { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-gittip { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-gittip:before { content: @fa-var-gratipay; } .@{fa-css-prefix}.@{fa-css-prefix}-sun-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-sun-o:before { content: @fa-var-sun; } .@{fa-css-prefix}.@{fa-css-prefix}-moon-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-moon-o:before { content: @fa-var-moon; } .@{fa-css-prefix}.@{fa-css-prefix}-vk { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-weibo { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-renren { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-pagelines { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-stack-exchange { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-arrow-circle-o-right { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-arrow-circle-o-right:before { content: @fa-var-arrow-alt-circle-right; } .@{fa-css-prefix}.@{fa-css-prefix}-arrow-circle-o-left { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-arrow-circle-o-left:before { content: @fa-var-arrow-alt-circle-left; } .@{fa-css-prefix}.@{fa-css-prefix}-caret-square-o-left { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-caret-square-o-left:before { content: @fa-var-caret-square-left; } .@{fa-css-prefix}.@{fa-css-prefix}-toggle-left { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-toggle-left:before { content: @fa-var-caret-square-left; } .@{fa-css-prefix}.@{fa-css-prefix}-dot-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-dot-circle-o:before { content: @fa-var-dot-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-vimeo-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-try:before { content: @fa-var-lira-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-turkish-lira:before { content: @fa-var-lira-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-plus-square-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-plus-square-o:before { content: @fa-var-plus-square; } .@{fa-css-prefix}.@{fa-css-prefix}-slack { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wordpress { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-openid { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-institution:before { content: @fa-var-university; } .@{fa-css-prefix}.@{fa-css-prefix}-bank:before { content: @fa-var-university; } .@{fa-css-prefix}.@{fa-css-prefix}-mortar-board:before { content: @fa-var-graduation-cap; } .@{fa-css-prefix}.@{fa-css-prefix}-yahoo { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-google { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-reddit { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-reddit-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-stumbleupon-circle { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-stumbleupon { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-delicious { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-digg { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-pied-piper-pp { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-pied-piper-alt { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-drupal { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-joomla { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-spoon:before { content: @fa-var-utensil-spoon; } .@{fa-css-prefix}.@{fa-css-prefix}-behance { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-behance-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-steam { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-steam-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-automobile:before { content: @fa-var-car; } .@{fa-css-prefix}.@{fa-css-prefix}-envelope-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope; } .@{fa-css-prefix}.@{fa-css-prefix}-spotify { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-deviantart { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-soundcloud { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-pdf-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-pdf-o:before { content: @fa-var-file-pdf; } .@{fa-css-prefix}.@{fa-css-prefix}-file-word-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-word-o:before { content: @fa-var-file-word; } .@{fa-css-prefix}.@{fa-css-prefix}-file-excel-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-excel-o:before { content: @fa-var-file-excel; } .@{fa-css-prefix}.@{fa-css-prefix}-file-powerpoint-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-powerpoint-o:before { content: @fa-var-file-powerpoint; } .@{fa-css-prefix}.@{fa-css-prefix}-file-image-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-image-o:before { content: @fa-var-file-image; } .@{fa-css-prefix}.@{fa-css-prefix}-file-photo-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-photo-o:before { content: @fa-var-file-image; } .@{fa-css-prefix}.@{fa-css-prefix}-file-picture-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-picture-o:before { content: @fa-var-file-image; } .@{fa-css-prefix}.@{fa-css-prefix}-file-archive-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-archive-o:before { content: @fa-var-file-archive; } .@{fa-css-prefix}.@{fa-css-prefix}-file-zip-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-zip-o:before { content: @fa-var-file-archive; } .@{fa-css-prefix}.@{fa-css-prefix}-file-audio-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-audio-o:before { content: @fa-var-file-audio; } .@{fa-css-prefix}.@{fa-css-prefix}-file-sound-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-sound-o:before { content: @fa-var-file-audio; } .@{fa-css-prefix}.@{fa-css-prefix}-file-video-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-video-o:before { content: @fa-var-file-video; } .@{fa-css-prefix}.@{fa-css-prefix}-file-movie-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-movie-o:before { content: @fa-var-file-video; } .@{fa-css-prefix}.@{fa-css-prefix}-file-code-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-file-code-o:before { content: @fa-var-file-code; } .@{fa-css-prefix}.@{fa-css-prefix}-vine { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-codepen { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-jsfiddle { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-life-ring { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-life-bouy { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-life-bouy:before { content: @fa-var-life-ring; } .@{fa-css-prefix}.@{fa-css-prefix}-life-buoy { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-life-buoy:before { content: @fa-var-life-ring; } .@{fa-css-prefix}.@{fa-css-prefix}-life-saver { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-life-saver:before { content: @fa-var-life-ring; } .@{fa-css-prefix}.@{fa-css-prefix}-support { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-support:before { content: @fa-var-life-ring; } .@{fa-css-prefix}.@{fa-css-prefix}-circle-o-notch:before { content: @fa-var-circle-notch; } .@{fa-css-prefix}.@{fa-css-prefix}-rebel { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-ra { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-ra:before { content: @fa-var-rebel; } .@{fa-css-prefix}.@{fa-css-prefix}-resistance { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-resistance:before { content: @fa-var-rebel; } .@{fa-css-prefix}.@{fa-css-prefix}-empire { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-ge { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-ge:before { content: @fa-var-empire; } .@{fa-css-prefix}.@{fa-css-prefix}-git-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-git { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hacker-news { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-y-combinator-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-y-combinator-square:before { content: @fa-var-hacker-news; } .@{fa-css-prefix}.@{fa-css-prefix}-yc-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-yc-square:before { content: @fa-var-hacker-news; } .@{fa-css-prefix}.@{fa-css-prefix}-tencent-weibo { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-qq { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-weixin { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wechat { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wechat:before { content: @fa-var-weixin; } .@{fa-css-prefix}.@{fa-css-prefix}-send:before { content: @fa-var-paper-plane; } .@{fa-css-prefix}.@{fa-css-prefix}-paper-plane-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-paper-plane-o:before { content: @fa-var-paper-plane; } .@{fa-css-prefix}.@{fa-css-prefix}-send-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-send-o:before { content: @fa-var-paper-plane; } .@{fa-css-prefix}.@{fa-css-prefix}-circle-thin { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-circle-thin:before { content: @fa-var-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-header:before { content: @fa-var-heading; } .@{fa-css-prefix}.@{fa-css-prefix}-sliders:before { content: @fa-var-sliders-h; } .@{fa-css-prefix}.@{fa-css-prefix}-futbol-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-futbol-o:before { content: @fa-var-futbol; } .@{fa-css-prefix}.@{fa-css-prefix}-soccer-ball-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-soccer-ball-o:before { content: @fa-var-futbol; } .@{fa-css-prefix}.@{fa-css-prefix}-slideshare { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-twitch { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-yelp { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-newspaper-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-newspaper-o:before { content: @fa-var-newspaper; } .@{fa-css-prefix}.@{fa-css-prefix}-paypal { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-google-wallet { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc-visa { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc-mastercard { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc-discover { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc-amex { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc-paypal { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc-stripe { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bell-slash-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bell-slash-o:before { content: @fa-var-bell-slash; } .@{fa-css-prefix}.@{fa-css-prefix}-trash:before { content: @fa-var-trash-alt; } .@{fa-css-prefix}.@{fa-css-prefix}-copyright { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-eyedropper:before { content: @fa-var-eye-dropper; } .@{fa-css-prefix}.@{fa-css-prefix}-area-chart:before { content: @fa-var-chart-area; } .@{fa-css-prefix}.@{fa-css-prefix}-pie-chart:before { content: @fa-var-chart-pie; } .@{fa-css-prefix}.@{fa-css-prefix}-line-chart:before { content: @fa-var-chart-line; } .@{fa-css-prefix}.@{fa-css-prefix}-lastfm { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-lastfm-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-ioxhost { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-angellist { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc:before { content: @fa-var-closed-captioning; } .@{fa-css-prefix}.@{fa-css-prefix}-ils:before { content: @fa-var-shekel-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-shekel:before { content: @fa-var-shekel-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-sheqel:before { content: @fa-var-shekel-sign; } .@{fa-css-prefix}.@{fa-css-prefix}-meanpath { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-meanpath:before { content: @fa-var-font-awesome; } .@{fa-css-prefix}.@{fa-css-prefix}-buysellads { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-connectdevelop { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-dashcube { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-forumbee { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-leanpub { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-sellsy { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-shirtsinbulk { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-simplybuilt { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-skyatlas { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-diamond { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-diamond:before { content: @fa-var-gem; } .@{fa-css-prefix}.@{fa-css-prefix}-intersex:before { content: @fa-var-transgender; } .@{fa-css-prefix}.@{fa-css-prefix}-facebook-official { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-facebook-official:before { content: @fa-var-facebook; } .@{fa-css-prefix}.@{fa-css-prefix}-pinterest-p { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-whatsapp { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hotel:before { content: @fa-var-bed; } .@{fa-css-prefix}.@{fa-css-prefix}-viacoin { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-medium { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-y-combinator { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-yc { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-yc:before { content: @fa-var-y-combinator; } .@{fa-css-prefix}.@{fa-css-prefix}-optin-monster { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-opencart { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-expeditedssl { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-battery-4:before { content: @fa-var-battery-full; } .@{fa-css-prefix}.@{fa-css-prefix}-battery:before { content: @fa-var-battery-full; } .@{fa-css-prefix}.@{fa-css-prefix}-battery-3:before { content: @fa-var-battery-three-quarters; } .@{fa-css-prefix}.@{fa-css-prefix}-battery-2:before { content: @fa-var-battery-half; } .@{fa-css-prefix}.@{fa-css-prefix}-battery-1:before { content: @fa-var-battery-quarter; } .@{fa-css-prefix}.@{fa-css-prefix}-battery-0:before { content: @fa-var-battery-empty; } .@{fa-css-prefix}.@{fa-css-prefix}-object-group { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-object-ungroup { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-sticky-note-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-sticky-note-o:before { content: @fa-var-sticky-note; } .@{fa-css-prefix}.@{fa-css-prefix}-cc-jcb { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cc-diners-club { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-clone { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hourglass-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hourglass-o:before { content: @fa-var-hourglass; } .@{fa-css-prefix}.@{fa-css-prefix}-hourglass-1:before { content: @fa-var-hourglass-start; } .@{fa-css-prefix}.@{fa-css-prefix}-hourglass-2:before { content: @fa-var-hourglass-half; } .@{fa-css-prefix}.@{fa-css-prefix}-hourglass-3:before { content: @fa-var-hourglass-end; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-rock-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-rock-o:before { content: @fa-var-hand-rock; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-grab-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-grab-o:before { content: @fa-var-hand-rock; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-paper-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-paper-o:before { content: @fa-var-hand-paper; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-stop-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-stop-o:before { content: @fa-var-hand-paper; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-scissors-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-scissors-o:before { content: @fa-var-hand-scissors; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-lizard-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-lizard-o:before { content: @fa-var-hand-lizard; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-spock-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-spock-o:before { content: @fa-var-hand-spock; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-pointer-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-pointer-o:before { content: @fa-var-hand-pointer; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-peace-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-hand-peace-o:before { content: @fa-var-hand-peace; } .@{fa-css-prefix}.@{fa-css-prefix}-registered { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-creative-commons { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-gg { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-gg-circle { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-tripadvisor { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-odnoklassniki { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-odnoklassniki-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-get-pocket { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wikipedia-w { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-safari { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-chrome { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-firefox { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-opera { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-internet-explorer { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-television:before { content: @fa-var-tv; } .@{fa-css-prefix}.@{fa-css-prefix}-contao { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-500px { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-amazon { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-plus-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-plus-o:before { content: @fa-var-calendar-plus; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-minus-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-minus-o:before { content: @fa-var-calendar-minus; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-times-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-times-o:before { content: @fa-var-calendar-times; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-check-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-calendar-check-o:before { content: @fa-var-calendar-check; } .@{fa-css-prefix}.@{fa-css-prefix}-map-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-map-o:before { content: @fa-var-map; } .@{fa-css-prefix}.@{fa-css-prefix}-commenting:before { content: @fa-var-comment-dots; } .@{fa-css-prefix}.@{fa-css-prefix}-commenting-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-commenting-o:before { content: @fa-var-comment-dots; } .@{fa-css-prefix}.@{fa-css-prefix}-houzz { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-vimeo { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-vimeo:before { content: @fa-var-vimeo-v; } .@{fa-css-prefix}.@{fa-css-prefix}-black-tie { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-fonticons { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-reddit-alien { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-edge { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-credit-card-alt:before { content: @fa-var-credit-card; } .@{fa-css-prefix}.@{fa-css-prefix}-codiepie { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-modx { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-fort-awesome { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-usb { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-product-hunt { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-mixcloud { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-scribd { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-pause-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-pause-circle-o:before { content: @fa-var-pause-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-stop-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-stop-circle-o:before { content: @fa-var-stop-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-bluetooth { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-bluetooth-b { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-gitlab { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wpbeginner { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wpforms { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-envira { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wheelchair-alt { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wheelchair-alt:before { content: @fa-var-accessible-icon; } .@{fa-css-prefix}.@{fa-css-prefix}-question-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-question-circle-o:before { content: @fa-var-question-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-volume-control-phone:before { content: @fa-var-phone-volume; } .@{fa-css-prefix}.@{fa-css-prefix}-asl-interpreting:before { content: @fa-var-american-sign-language-interpreting; } .@{fa-css-prefix}.@{fa-css-prefix}-deafness:before { content: @fa-var-deaf; } .@{fa-css-prefix}.@{fa-css-prefix}-hard-of-hearing:before { content: @fa-var-deaf; } .@{fa-css-prefix}.@{fa-css-prefix}-glide { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-glide-g { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-signing:before { content: @fa-var-sign-language; } .@{fa-css-prefix}.@{fa-css-prefix}-viadeo { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-viadeo-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-snapchat { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-snapchat-ghost { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-snapchat-square { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-pied-piper { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-first-order { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-yoast { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-themeisle { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-google-plus-official { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-google-plus-official:before { content: @fa-var-google-plus; } .@{fa-css-prefix}.@{fa-css-prefix}-google-plus-circle { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-google-plus-circle:before { content: @fa-var-google-plus; } .@{fa-css-prefix}.@{fa-css-prefix}-font-awesome { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-fa { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-fa:before { content: @fa-var-font-awesome; } .@{fa-css-prefix}.@{fa-css-prefix}-handshake-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-handshake-o:before { content: @fa-var-handshake; } .@{fa-css-prefix}.@{fa-css-prefix}-envelope-open-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-envelope-open-o:before { content: @fa-var-envelope-open; } .@{fa-css-prefix}.@{fa-css-prefix}-linode { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-address-book-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-address-book-o:before { content: @fa-var-address-book; } .@{fa-css-prefix}.@{fa-css-prefix}-vcard:before { content: @fa-var-address-card; } .@{fa-css-prefix}.@{fa-css-prefix}-address-card-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-address-card-o:before { content: @fa-var-address-card; } .@{fa-css-prefix}.@{fa-css-prefix}-vcard-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-vcard-o:before { content: @fa-var-address-card; } .@{fa-css-prefix}.@{fa-css-prefix}-user-circle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-user-circle-o:before { content: @fa-var-user-circle; } .@{fa-css-prefix}.@{fa-css-prefix}-user-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-user-o:before { content: @fa-var-user; } .@{fa-css-prefix}.@{fa-css-prefix}-id-badge { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-drivers-license:before { content: @fa-var-id-card; } .@{fa-css-prefix}.@{fa-css-prefix}-id-card-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-id-card-o:before { content: @fa-var-id-card; } .@{fa-css-prefix}.@{fa-css-prefix}-drivers-license-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-drivers-license-o:before { content: @fa-var-id-card; } .@{fa-css-prefix}.@{fa-css-prefix}-quora { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-free-code-camp { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-telegram { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-thermometer-4:before { content: @fa-var-thermometer-full; } .@{fa-css-prefix}.@{fa-css-prefix}-thermometer:before { content: @fa-var-thermometer-full; } .@{fa-css-prefix}.@{fa-css-prefix}-thermometer-3:before { content: @fa-var-thermometer-three-quarters; } .@{fa-css-prefix}.@{fa-css-prefix}-thermometer-2:before { content: @fa-var-thermometer-half; } .@{fa-css-prefix}.@{fa-css-prefix}-thermometer-1:before { content: @fa-var-thermometer-quarter; } .@{fa-css-prefix}.@{fa-css-prefix}-thermometer-0:before { content: @fa-var-thermometer-empty; } .@{fa-css-prefix}.@{fa-css-prefix}-bathtub:before { content: @fa-var-bath; } .@{fa-css-prefix}.@{fa-css-prefix}-s15:before { content: @fa-var-bath; } .@{fa-css-prefix}.@{fa-css-prefix}-window-maximize { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-window-restore { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-times-rectangle:before { content: @fa-var-window-close; } .@{fa-css-prefix}.@{fa-css-prefix}-window-close-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-window-close-o:before { content: @fa-var-window-close; } .@{fa-css-prefix}.@{fa-css-prefix}-times-rectangle-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-times-rectangle-o:before { content: @fa-var-window-close; } .@{fa-css-prefix}.@{fa-css-prefix}-bandcamp { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-grav { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-etsy { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-imdb { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-ravelry { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-eercast { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-eercast:before { content: @fa-var-sellcast; } .@{fa-css-prefix}.@{fa-css-prefix}-snowflake-o { font-family: 'Font Awesome 5 Free'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-snowflake-o:before { content: @fa-var-snowflake; } .@{fa-css-prefix}.@{fa-css-prefix}-superpowers { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-wpexplorer { font-family: 'Font Awesome 5 Brands'; font-weight: 400; } .@{fa-css-prefix}.@{fa-css-prefix}-cab:before { content: @fa-var-taxi; }
Less
4
IWishYouPingMe/Portonew
fa/less/_shims.less
[ "MIT" ]
--TEST-- Test array_product() function : variation --FILE-- <?php echo "*** Testing array_product() : variations ***\n"; echo "\n-- Testing array_product() function with a very large array --\n"; $array = array(); for ($i = 0; $i < 999; $i++) { $array[] = 999; } var_dump( array_product($array) ); ?> --EXPECT-- *** Testing array_product() : variations *** -- Testing array_product() function with a very large array -- float(INF)
PHP
4
NathanFreeman/php-src
ext/standard/tests/array/array_product_variation4.phpt
[ "PHP-3.01" ]
package Test package Inc model X end X; model Y end Y; end Inc; model A model Y end Y; end A; model B extends A; import Inc.*; X x; end B; end OtherName;
Modelica
2
zhangxinngang/pmd
pmd-dist/src/test/resources/sample-source/modelica/SampleCode.mo
[ "Apache-2.0" ]
(* Module: Oneserver To parse /etc/one/*-server.conf (onegate-server.conf still is not supported) Author: Anton Todorov <[email protected]> *) module Test_oneserver = let conf_a =":key1: value1 :key2: 127.0.0.1 # comment spaced :key3: /path/to/something/42 # :key_4: http://dir.bg/url #:key5: 12345 :key6: :key6: :key7: \"val7\" " test Oneserver.lns get conf_a = ? test Oneserver.lns get conf_a = { "key1" = "value1" } { "#empty" } { "key2" = "127.0.0.1" } { "#comment" = "comment spaced" } { "key3" = "/path/to/something/42" } { "#comment" = "" } { "key_4" = "http://dir.bg/url" } { "#comment" = ":key5: 12345" } { "key6" } { "key6" } { "key7" = "\"val7\"" } let conf_b =":key1: value1 :key2: 127.0.0.1 # comment spaced :key3: /path/to/something/42 # # :key_4: http://dir.bg/url #:key5: 12345 :key6: :key6: :key7: \"kafter\" :key8: - k8v1 - k8v2 - k8v3 " test Oneserver.lns get conf_b = ? test Oneserver.lns get conf_b = { "key1" = "value1" } { "#empty" } { "key2" = "127.0.0.1" } { "#comment" = "comment spaced" } { "key3" = "/path/to/something/42" } { "#comment" = "" } { "#comment" = "" } { "key_4" = "http://dir.bg/url" } { "#comment" = ":key5: 12345" } { "key6" } { "key6" } { "key7" = "\"kafter\"" } { "key8" } { "#option" = "k8v1" } { "#option" = "k8v2" } { "#option" = "k8v3" } { "#empty" } let conf_c =":element1: value1 :element2: 127.0.0.1 # comment :element3: /value/3 :element_4: http://dir.bg #:element: 12345 :element5: 1234 :root: :one1: :two1: :one2: :two2: " test Oneserver.lns get conf_c = *
Augeas
2
OpenNebula/addon-storpool
misc/augeas/tests/test_oneserver.aug
[ "Apache-2.0" ]
.bold.table-section.section-15.gl-mr-3 = s_('CiVariables|Scope')
Haml
0
glimmerhq/glimmerhq
app/views/ci/variables/_environment_scope_header.html.haml
[ "MIT" ]
const i32 dct = ref;
Thrift
0
JonnoFTW/thriftpy2
tests/parser-cases/e_value_ref_0.thrift
[ "MIT" ]
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You 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 * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.spark.shuffle import java.io.{DataInputStream, File, FileInputStream} import java.util.zip.CheckedInputStream import org.apache.spark.network.shuffle.checksum.ShuffleChecksumHelper import org.apache.spark.network.util.LimitedInputStream trait ShuffleChecksumTestHelper { /** * Ensure that the checksum values are consistent between write and read side. */ def compareChecksums( numPartition: Int, algorithm: String, checksum: File, data: File, index: File): Unit = { assert(checksum.exists(), "Checksum file doesn't exist") assert(data.exists(), "Data file doesn't exist") assert(index.exists(), "Index file doesn't exist") var checksumIn: DataInputStream = null val expectChecksums = Array.ofDim[Long](numPartition) try { checksumIn = new DataInputStream(new FileInputStream(checksum)) (0 until numPartition).foreach(i => expectChecksums(i) = checksumIn.readLong()) } finally { if (checksumIn != null) { checksumIn.close() } } var dataIn: FileInputStream = null var indexIn: DataInputStream = null var checkedIn: CheckedInputStream = null try { dataIn = new FileInputStream(data) indexIn = new DataInputStream(new FileInputStream(index)) var prevOffset = indexIn.readLong (0 until numPartition).foreach { i => val curOffset = indexIn.readLong val limit = (curOffset - prevOffset).toInt val bytes = new Array[Byte](limit) val checksumCal = ShuffleChecksumHelper.getChecksumByAlgorithm(algorithm) checkedIn = new CheckedInputStream( new LimitedInputStream(dataIn, curOffset - prevOffset), checksumCal) checkedIn.read(bytes, 0, limit) prevOffset = curOffset // checksum must be consistent at both write and read sides assert(checkedIn.getChecksum.getValue == expectChecksums(i)) } } finally { if (dataIn != null) { dataIn.close() } if (indexIn != null) { indexIn.close() } if (checkedIn != null) { checkedIn.close() } } } }
Scala
4
akhalymon-cv/spark
core/src/test/scala/org/apache/spark/shuffle/ShuffleChecksumTestHelper.scala
[ "Apache-2.0" ]
Description: Sample RECmd batch file Author: Eric Zimmerman Version: 1 Id: ab13eb5f-31db-5cdc-83df-88ec83dc7a Keys: - Description: UserAssist HiveType: NTUSER Category: Execution KeyPath: Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist Recursive: true Comment: "user assist"
Rebol
2
pawanr2790/CMD
BatchExamples/BatchExampleUserAssist.reb
[ "MIT" ]
# Copyright 2019 The TensorFlow Authors All Rights Reserved. # # 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 # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== """Computes metrics for Google Landmarks Recognition dataset predictions. Metrics are written to stdout. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import sys from absl import app from delf.python.datasets.google_landmarks_dataset import dataset_file_io from delf.python.datasets.google_landmarks_dataset import metrics cmd_args = None def main(argv): if len(argv) > 1: raise RuntimeError('Too many command-line arguments.') # Read solution. print('Reading solution...') public_solution, private_solution, ignored_ids = dataset_file_io.ReadSolution( cmd_args.solution_path, dataset_file_io.RECOGNITION_TASK_ID) print('done!') # Read predictions. print('Reading predictions...') public_predictions, private_predictions = dataset_file_io.ReadPredictions( cmd_args.predictions_path, set(public_solution.keys()), set(private_solution.keys()), set(ignored_ids), dataset_file_io.RECOGNITION_TASK_ID) print('done!') # Global Average Precision. print('**********************************************') print('(Public) Global Average Precision: %f' % metrics.GlobalAveragePrecision(public_predictions, public_solution)) print('(Private) Global Average Precision: %f' % metrics.GlobalAveragePrecision(private_predictions, private_solution)) # Global Average Precision ignoring non-landmark queries. print('**********************************************') print( '(Public) Global Average Precision ignoring non-landmark queries: %f' % metrics.GlobalAveragePrecision( public_predictions, public_solution, ignore_non_gt_test_images=True)) print( '(Private) Global Average Precision ignoring non-landmark queries: %f' % metrics.GlobalAveragePrecision( private_predictions, private_solution, ignore_non_gt_test_images=True)) # Top-1 accuracy. print('**********************************************') print('(Public) Top-1 accuracy: %.2f' % (100.0 * metrics.Top1Accuracy(public_predictions, public_solution))) print('(Private) Top-1 accuracy: %.2f' % (100.0 * metrics.Top1Accuracy(private_predictions, private_solution))) if __name__ == '__main__': parser = argparse.ArgumentParser() parser.register('type', 'bool', lambda v: v.lower() == 'true') parser.add_argument( '--predictions_path', type=str, default='/tmp/predictions.csv', help=""" Path to CSV predictions file, formatted with columns 'id,landmarks' (the file should include a header). """) parser.add_argument( '--solution_path', type=str, default='/tmp/solution.csv', help=""" Path to CSV solution file, formatted with columns 'id,landmarks,Usage' (the file should include a header). """) cmd_args, unparsed = parser.parse_known_args() app.run(main=main, argv=[sys.argv[0]] + unparsed)
Python
4
akshit-protonn/models
research/delf/delf/python/datasets/google_landmarks_dataset/compute_recognition_metrics.py
[ "Apache-2.0" ]
# Installed by OZ, needed for Xpra allowed_users=anybody
Oz
0
CodeLingoBot/oz
sources/etc/X11/Xwrapper.config.oz
[ "BSD-3-Clause" ]
# Copyright (c) 2018-2021, Carnegie Mellon University # See LICENSE for details Declare(VContainer); ############################################################################### #F VContainer(<spl>, <isa>) #F #F self.child(1) -- spl #F self.isa -- isa #F Class(VContainer, VRC, rec( #----------------------------------------------------------------------- new := (self, spl, isa) >> SPL(WithBases(self, rec( _children := [spl], isa := isa))).setDims(), #----------------------------------------------------------------------- dims := self >> self.child(1).dims(), #----------------------------------------------------------------------- toAMat := (self) >> AMatMat(MatSPL(self.child(1))), #----------------------------------------------------------------------- isReal := self >> self.child(1).isReal(), #----------------------------------------------------------------------- conjTranspose := self >> ObjId(self)(self.child(1).conjTranspose(), self.isa), #----------------------------------------------------------------------- # NOTE: make sure rChildren properly exposes all parameters from_rChildren := (self, rch) >> VContainer(rch[1], self.isa), #----------------------------------------------------------------------- print := (self, i, is) >> Print(self.name, "(\n", Blanks(i+is), self.child(1).print(i+is,is), ",\n", Blanks(i+is), self.isa, ")", self.printA()), #----------------------------------------------------------------------- unroll := self >> self, #----------------------------------------------------------------------- transpose := self >> VContainer(self.child(1).transpose(), self.isa), #----------------------------------------------------------------------- vcost := self >> self.child(1).vcost() )); Class(VirtualPad, BaseContainer, SumsBase, rec( #----------------------------------------------------------------------- new := (self, rows, cols, ch) >> SPL(WithBases(self, rec( dimensions := [rows, cols], _children := [ch]))).setDims(), #----------------------------------------------------------------------- dims := self >> self.dimensions, #----------------------------------------------------------------------- toAMat := self >> let(m := MatSPL(self.child(1)), ch := self.child(1), AMatMat( List(m, x -> x :: Replicate(Cols(self)-Cols(ch), 0)) :: Replicate(Rows(self)-Rows(ch), Replicate(Cols(self), 0)))), #----------------------------------------------------------------------- rChildren := self >> [self.dimensions[1], self.dimensions[2], self._children[1]], #----------------------------------------------------------------------- rSetChild := meth(self, n, what) if n=1 then self.dimensions[1] := Checked(IsIntSym(what), what); elif n=2 then self.dimensions[2] := Checked(IsIntSym(what), what); elif n=3 then self._children[1] := Checked(IsSPL(what), what); else Error("<n> must be in [1..3]"); fi; end, ));
GAP
5
sr7cb/spiral-software
namespaces/spiral/paradigms/vector/sigmaspl/vcontainer.gi
[ "BSD-2-Clause-FreeBSD" ]
<?xml version='1.0' encoding='utf-8'?> <?python from KidKit.Examples.KidExamplePage import KidExamplePage hook = KidExamplePage.writeContent import time ?> <div style="text-align:center" xmlns:py="http://purl.org/kid/ns#"> <h2>Time Example 1</h2> <p><i>This page is embedded as a KidExamplePage.</i></p> <p>The current time is <span py:content="time.ctime()" style="color:#339"> Locale Specific Date/Time </span>.</p> </div>
Genshi
3
PeaceWorksTechnologySolutions/w4py
KidKit/Examples/Time1.kid
[ "MIT" ]
.app-level-export { background-color: aqua }
Stylus
1
joseconstela/meteor
tools/tests/apps/app-using-stylus/client/app-export.import.styl
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
FROM ubuntu:20.04 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ g++ \ make \ ninja-build \ file \ curl \ ca-certificates \ python3 \ git \ cmake \ sudo \ gdb \ xz-utils \ bzip2 COPY scripts/emscripten.sh /scripts/ RUN bash /scripts/emscripten.sh COPY scripts/sccache.sh /scripts/ RUN sh /scripts/sccache.sh # emcc seems to need python to specifically be "python" and not "python3" RUN ln `which python3` /usr/bin/python ENV PATH=$PATH:/emsdk-portable ENV PATH=$PATH:/emsdk-portable/upstream/emscripten/ # Rust's build system requires NodeJS to be in the path, but the directory in # which emsdk stores it contains the version number. This caused breakages in # the past when emsdk bumped the node version causing the path to point to a # missing directory. # # To avoid the problem this symlinks the latest NodeJs version available to # "latest", and adds that to the path. RUN ln -s /emsdk-portable/node/$(ls /emsdk-portable/node | sort -V | tail -n 1) \ /emsdk-portable/node/latest ENV PATH=$PATH:/emsdk-portable/node/latest/bin/ ENV BINARYEN_ROOT=/emsdk-portable/upstream/ ENV EMSDK=/emsdk-portable ENV EM_CONFIG=/emsdk-portable/.emscripten ENV EM_CACHE=/emsdk-portable/upstream/emscripten/cache ENV TARGETS=wasm32-unknown-emscripten # Use -O1 optimizations in the link step to reduce time spent optimizing. ENV EMCC_CFLAGS=-O1 # Emscripten installation is user-specific ENV NO_CHANGE_USER=1 # Exclude library/alloc due to OOM in benches. ENV SCRIPT python3 ../x.py test --stage 2 --host='' --target $TARGETS \ --exclude library/alloc
Dockerfile
4
mbc-git/rust
src/ci/docker/host-x86_64/wasm32/Dockerfile
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#!/usr/bin/env io exampleBreak := method( b := Sequence clone for(i, 0, 10, if(i == 5, break); b appendSeq(i asString)) b ) exampleContinue := method( b := Sequence clone for(i, 0, 10, if(i == 5, continue); b appendSeq(i asString)) b ) exampleReturn := method( b := Sequence clone for(i, 0, 10, if(i == 5, return b); b appendSeq(i asString)) b ) writeln("break: ", if (exampleBreak == "01234", "OK", "FAILED") ) writeln("continue: ", if (exampleContinue == "01234678910", "OK", "FAILED") ) writeln("return: ", if (exampleReturn == "01234", "OK", "FAILED") )
Io
4
akluth/io
samples/misc/ControlFlow.io
[ "BSD-3-Clause" ]
{% syntax error
Twig
2
lavrenchukvladyslav/S4Rest
vendor/symfony/twig-bridge/Tests/Fixtures/extractor/syntax_error.twig
[ "MIT" ]
html { position: relative; min-height: 100%; } body { margin-bottom: 60px; /* Margin bottom by footer height */ } .footer { bottom: 60px; width: 100%; height: 60px; /* Set the fixed height of the footer here */ color: rgb(226, 226, 226) !important; font-size: 0.8em; } .footer a { color: rgb(226, 226, 226) !important; } .footer .hasura-logo a:hover { text-decoration: none; } .footer .hasura-logo img { height: 30px; } .footer .footer-small-text { font-size: 0.7em; padding-top: 5px; } .main { height: calc(100vh - 60px); background-color: #467FD7; color: rgb(226, 226, 226); } .main-content { text-align: center; } .main-content img#arch { width: 100%; } .waiting-text { padding-top: 10px } div .error { padding-top: 20px; } #arch { padding: 20px; } .notifications { width: 100%; } .notifications ul { max-height: 350px; overflow: auto; } .try-again { padding: 10px; } .loader { height: 4px; width: 100%; position: relative; overflow: hidden; background-color: #ddd; } .loader:before{ display: block; position: absolute; content: ""; left: -200px; width: 200px; height: 4px; background-color: #2980b9; animation: loading 2s linear infinite; } @keyframes loading { from {left: -200px; width: 30%;} 50% {width: 30%;} 70% {width: 70%;} 80% { left: 50%;} 95% {left: 120%;} to {left: 100%;} } .hasura-logo img { margin-bottom: 12px; }
CSS
3
gh-oss-contributor/graphql-engine-1
community/sample-apps/serverless-push/index.css
[ "Apache-2.0", "MIT" ]
import {Injectable} from '@angular/core'; @Injectable() class MyAlternateService { } @Injectable({providedIn: 'root', useClass: MyAlternateService}) export class MyService { }
TypeScript
3
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_di/di/useclass_without_deps.ts
[ "MIT" ]
= datagrid_table @grid, @assets
Slim
0
childselfy/crypto-exchange
app/views/admin/proofs/index.html.slim
[ "MIT" ]
#!/bin/tcsh echo "Running ECAL Laser Correction Service Test" source /etc/hepix/oracle_env.csh setenv TNS_ADMIN /afs/cern.ch/project/oracle/admin cmsRun test_ecallaserdb_2.cfg
Tcsh
3
ckamtsikis/cmssw
CalibCalorimetry/EcalLaserCorrection/test/runLaserCorrection.csh
[ "Apache-2.0" ]
var React = require('react'); var PropTypes = require('prop-types'); var CommandView = require('../react_views/CommandView.jsx'); var Main = require('../app'); var _subscribeEvents = [ 'add', 'reset', 'change', 'all' ]; class CommandHistoryView extends React.Component { componentDidMount() { for (var i = 0; i < _subscribeEvents.length; i++) { this.props.commandCollection.on( _subscribeEvents[i], this.updateFromCollection, this ); } this.props.commandCollection.on('change', this.scrollDown, this); Main.getEvents().on('commandScrollDown', this.scrollDown, this); Main.getEvents().on('clearOldCommands', () => this.clearOldCommands(), this); } componentWillUnmount() { for (var i = 0; i < _subscribeEvents.length; i++) { this.props.commandCollection.off( _subscribeEvents[i], this.updateFromCollection, this ); } } updateFromCollection() { this.forceUpdate(); } render() { var allCommands = []; this.props.commandCollection.each(function(command, index) { allCommands.push( <CommandView id={'command_' + index} command={command} key={command.cid} /> ); }, this); return ( <div> {allCommands} </div> ); } scrollDown() { var cD = document.getElementById('commandDisplay'); var t = document.getElementById('terminal'); // firefox hack var shouldScroll = (cD.clientHeight > t.clientHeight) || (window.innerHeight < cD.clientHeight); // ugh sometimes i wish i had toggle class var hasScroll = t.className.match(/scrolling/g); if (shouldScroll && !hasScroll) { t.className += ' scrolling'; } else if (!shouldScroll && hasScroll) { t.className = t.className.replace(/shouldScroll/g, ''); } if (shouldScroll) { t.scrollTop = t.scrollHeight; } } clearOldCommands() { // go through and get rid of every command that is "processed" or done var toDestroy = []; this.props.commandCollection.each(function(command) { if (command.get('status') !== 'inqueue' && command.get('status') !== 'processing') { toDestroy.push(command); } }, this); for (var i = 0; i < toDestroy.length; i++) { toDestroy[i].destroy(); } this.updateFromCollection(); this.scrollDown(); } } CommandHistoryView.propTypes = { // the backbone command model collection commandCollection: PropTypes.object.isRequired }; module.exports = CommandHistoryView;
JSX
4
humanumbrella/learnGitBranching
src/js/react_views/CommandHistoryView.jsx
[ "MIT" ]
(* 14 lines 8 code 4 comments 2 blanks *) fun main () = return <xml> <head> <title>Hello world!</title> </head> (* multi line comment *) <body> (* uncounted comment *) <h1>Hello world!</h1> </body> </xml>
UrWeb
3
alexmaco/tokei
tests/data/urweb.ur
[ "Apache-2.0", "MIT" ]
#!/bin/sh export MALLOC_CONF="narenas:1,bin_shards:1-160:16|129-512:4|256-256:8"
Shell
3
Mu-L/jemalloc
test/unit/binshard.sh
[ "BSD-2-Clause" ]
package com.baeldung.jmapper.relational; public class UserDto2 { private long id; private String email; // constructors public UserDto2() { super(); } public UserDto2(long id, String email) { super(); this.id = id; this.email = email; } // getters and setters public long getId() { return id; } public void setId(long id) { this.id = id; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } @Override public String toString() { return "UserDto2 [id=" + id + ", email=" + email + "]"; } }
Java
5
scharanreddy/tutorials
libraries-data/src/main/java/com/baeldung/jmapper/relational/UserDto2.java
[ "MIT" ]
AudioBufferSource abs { url assets/ogg/chop.ogg, loop true} [ delay, output ] Delay delay { delayTime 0.2 } [ feedback, output ] Gain feedback { gain 0.8 } [ delay ] End
Augeas
3
newlandsvalley/purescript-audiograph
audiograph-editor/dist/augsamples/feedback.aug
[ "MIT" ]
(lp1 (ccopy_reg _reconstructor p2 (cpygments.token _TokenType p3 c__builtin__ tuple p4 (S'Generic' p5 S'Traceback' p6 ttRp7 (dp8 S'subtypes' p9 c__builtin__ set p10 ((ltRp11 sS'parent' p12 g2 (g3 g4 (g5 ttRp13 (dp14 S'Prompt' p15 g2 (g3 g4 (g5 g15 ttRp16 (dp17 g9 g10 ((ltRp18 sg12 g13 sbsg12 g2 (g3 g4 (ttRp19 (dp20 S'Comment' p21 g2 (g3 g4 (g21 ttRp22 (dp23 g12 g19 sS'Preproc' p24 g2 (g3 g4 (g21 g24 ttRp25 (dp26 g9 g10 ((ltRp27 sg12 g22 sbsS'Single' p28 g2 (g3 g4 (g21 g28 ttRp29 (dp30 g9 g10 ((ltRp31 sg12 g22 sbsS'Multiline' p32 g2 (g3 g4 (g21 g32 ttRp33 (dp34 g9 g10 ((ltRp35 sg12 g22 sbsg9 g10 ((lp36 g2 (g3 g4 (g21 S'Special' p37 ttRp38 (dp39 g9 g10 ((ltRp40 sg12 g22 sbag25 ag29 ag33 atRp41 sg37 g38 sbsS'Name' p42 g2 (g3 g4 (g42 ttRp43 (dp44 S'Function' p45 g2 (g3 g4 (g42 g45 ttRp46 (dp47 g9 g10 ((ltRp48 sg12 g43 sbsS'Exception' p49 g2 (g3 g4 (g42 g49 ttRp50 (dp51 g9 g10 ((ltRp52 sg12 g43 sbsS'Tag' p53 g2 (g3 g4 (g42 g53 ttRp54 (dp55 g9 g10 ((ltRp56 sg12 g43 sbsS'Constant' p57 g2 (g3 g4 (g42 g57 ttRp58 (dp59 g9 g10 ((ltRp60 sg12 g43 sbsg12 g19 sS'Pseudo' p61 g2 (g3 g4 (g42 g61 ttRp62 (dp63 g9 g10 ((ltRp64 sg12 g43 sbsS'Attribute' p65 g2 (g3 g4 (g42 g65 ttRp66 (dp67 g9 g10 ((ltRp68 sg12 g43 sbsS'Label' p69 g2 (g3 g4 (g42 g69 ttRp70 (dp71 g9 g10 ((ltRp72 sg12 g43 sbsS'Blubb' p73 g2 (g3 g4 (g42 g73 ttRp74 (dp75 g9 g10 ((ltRp76 sg12 g43 sbsS'Entity' p77 g2 (g3 g4 (g42 g77 ttRp78 (dp79 g9 g10 ((ltRp80 sg12 g43 sbsS'Builtin' p81 g2 (g3 g4 (g42 g81 ttRp82 (dp83 g9 g10 ((lp84 g2 (g3 g4 (g42 g81 g61 ttRp85 (dp86 g9 g10 ((ltRp87 sg12 g82 sbatRp88 sg61 g85 sg12 g43 sbsS'Other' p89 g2 (g3 g4 (g42 g89 ttRp90 (dp91 g9 g10 ((ltRp92 sg12 g43 sbsS'Identifier' p93 g2 (g3 g4 (g42 g93 ttRp94 (dp95 g9 g10 ((ltRp96 sg12 g43 sbsS'Variable' p97 g2 (g3 g4 (g42 g97 ttRp98 (dp99 g12 g43 sS'Global' p100 g2 (g3 g4 (g42 g97 g100 ttRp101 (dp102 g9 g10 ((ltRp103 sg12 g98 sbsS'Instance' p104 g2 (g3 g4 (g42 g97 g104 ttRp105 (dp106 g9 g10 ((ltRp107 sg12 g98 sbsS'Anonymous' p108 g2 (g3 g4 (g42 g97 g108 ttRp109 (dp110 g9 g10 ((ltRp111 sg12 g98 sbsg9 g10 ((lp112 g109 ag105 ag101 ag2 (g3 g4 (g42 g97 S'Class' p113 ttRp114 (dp115 g9 g10 ((ltRp116 sg12 g98 sbatRp117 sg113 g114 sbsg9 g10 ((lp118 g2 (g3 g4 (g42 S'Decorator' p119 ttRp120 (dp121 g9 g10 ((ltRp122 sg12 g43 sbag66 ag58 ag62 ag2 (g3 g4 (g42 S'Namespace' p123 ttRp124 (dp125 g9 g10 ((ltRp126 sg12 g43 sbag94 ag82 ag98 ag90 ag74 ag78 ag46 ag2 (g3 g4 (g42 S'Property' p127 ttRp128 (dp129 g9 g10 ((ltRp130 sg12 g43 sbag70 ag54 ag50 ag2 (g3 g4 (g42 g113 ttRp131 (dp132 g9 g10 ((ltRp133 sg12 g43 sbatRp134 sg127 g128 sg113 g131 sg119 g120 sg123 g124 sbsS'Keyword' p135 g2 (g3 g4 (g135 ttRp136 (dp137 g57 g2 (g3 g4 (g135 g57 ttRp138 (dp139 g9 g10 ((ltRp140 sg12 g136 sbsg12 g19 sg123 g2 (g3 g4 (g135 g123 ttRp141 (dp142 g9 g10 ((ltRp143 sg12 g136 sbsg61 g2 (g3 g4 (g135 g61 ttRp144 (dp145 g9 g10 ((ltRp146 sg12 g136 sbsS'Reserved' p147 g2 (g3 g4 (g135 g147 ttRp148 (dp149 g9 g10 ((ltRp150 sg12 g136 sbsS'Declaration' p151 g2 (g3 g4 (g135 g151 ttRp152 (dp153 g9 g10 ((ltRp154 sg12 g136 sbsg97 g2 (g3 g4 (g135 g97 ttRp155 (dp156 g9 g10 ((ltRp157 sg12 g136 sbsg9 g10 ((lp158 g138 ag148 ag2 (g3 g4 (g135 S'Type' p159 ttRp160 (dp161 g9 g10 ((ltRp162 sg12 g136 sbag152 ag155 ag141 ag144 atRp163 sg159 g160 sbsg5 g13 sS'Text' p164 g2 (g3 g4 (g164 ttRp165 (dp166 g9 g10 ((lp167 g2 (g3 g4 (g164 S'Symbol' p168 ttRp169 (dp170 g9 g10 ((ltRp171 sg12 g165 sbag2 (g3 g4 (g164 S'Whitespace' p172 ttRp173 (dp174 g9 g10 ((ltRp175 sg12 g165 sbatRp176 sg168 g169 sg172 g173 sg12 g19 sbsS'Punctuation' p177 g2 (g3 g4 (g177 ttRp178 (dp179 g9 g10 ((lp180 g2 (g3 g4 (g177 S'Indicator' p181 ttRp182 (dp183 g9 g10 ((ltRp184 sg12 g178 sbatRp185 sg181 g182 sg12 g19 sbsS'Token' p186 g19 sS'Number' p187 g2 (g3 g4 (S'Literal' p188 g187 ttRp189 (dp190 S'Bin' p191 g2 (g3 g4 (g188 g187 g191 ttRp192 (dp193 g9 g10 ((ltRp194 sg12 g189 sbsS'Binary' p195 g2 (g3 g4 (g188 g187 g195 ttRp196 (dp197 g9 g10 ((ltRp198 sg12 g189 sbsg12 g2 (g3 g4 (g188 ttRp199 (dp200 S'String' p201 g2 (g3 g4 (g188 g201 ttRp202 (dp203 S'Regex' p204 g2 (g3 g4 (g188 g201 g204 ttRp205 (dp206 g9 g10 ((ltRp207 sg12 g202 sbsS'Interpol' p208 g2 (g3 g4 (g188 g201 g208 ttRp209 (dp210 g9 g10 ((ltRp211 sg12 g202 sbsS'Regexp' p212 g2 (g3 g4 (g188 g201 g212 ttRp213 (dp214 g9 g10 ((ltRp215 sg12 g202 sbsg12 g199 sS'Heredoc' p216 g2 (g3 g4 (g188 g201 g216 ttRp217 (dp218 g9 g10 ((ltRp219 sg12 g202 sbsS'Double' p220 g2 (g3 g4 (g188 g201 g220 ttRp221 (dp222 g9 g10 ((ltRp223 sg12 g202 sbsg168 g2 (g3 g4 (g188 g201 g168 ttRp224 (dp225 g9 g10 ((ltRp226 sg12 g202 sbsS'Escape' p227 g2 (g3 g4 (g188 g201 g227 ttRp228 (dp229 g9 g10 ((ltRp230 sg12 g202 sbsS'Character' p231 g2 (g3 g4 (g188 g201 g231 ttRp232 (dp233 g9 g10 ((ltRp234 sg12 g202 sbsS'Interp' p235 g2 (g3 g4 (g188 g201 g235 ttRp236 (dp237 g9 g10 ((ltRp238 sg12 g202 sbsS'Backtick' p239 g2 (g3 g4 (g188 g201 g239 ttRp240 (dp241 g9 g10 ((ltRp242 sg12 g202 sbsS'Char' p243 g2 (g3 g4 (g188 g201 g243 ttRp244 (dp245 g9 g10 ((ltRp246 sg12 g202 sbsg28 g2 (g3 g4 (g188 g201 g28 ttRp247 (dp248 g9 g10 ((ltRp249 sg12 g202 sbsg89 g2 (g3 g4 (g188 g201 g89 ttRp250 (dp251 g9 g10 ((ltRp252 sg12 g202 sbsS'Doc' p253 g2 (g3 g4 (g188 g201 g253 ttRp254 (dp255 g9 g10 ((ltRp256 sg12 g202 sbsg9 g10 ((lp257 g250 ag2 (g3 g4 (g188 g201 S'Atom' p258 ttRp259 (dp260 g9 g10 ((ltRp261 sg12 g202 sbag221 ag244 ag236 ag254 ag217 ag240 ag209 ag224 ag213 ag205 ag247 ag232 ag228 atRp262 sg258 g259 sbsg12 g19 sg187 g189 sS'Scalar' p263 g2 (g3 g4 (g188 g263 ttRp264 (dp265 g9 g10 ((lp266 g2 (g3 g4 (g188 g263 S'Plain' p267 ttRp268 (dp269 g9 g10 ((ltRp270 sg12 g264 sbatRp271 sg12 g199 sg267 g268 sbsg89 g2 (g3 g4 (g188 g89 ttRp272 (dp273 g9 g10 ((ltRp274 sg12 g199 sbsS'Date' p275 g2 (g3 g4 (g188 g275 ttRp276 (dp277 g9 g10 ((ltRp278 sg12 g199 sbsg9 g10 ((lp279 g276 ag202 ag272 ag189 ag264 atRp280 sbsS'Decimal' p281 g2 (g3 g4 (g188 g187 g281 ttRp282 (dp283 g9 g10 ((ltRp284 sg12 g189 sbsS'Float' p285 g2 (g3 g4 (g188 g187 g285 ttRp286 (dp287 g9 g10 ((ltRp288 sg12 g189 sbsS'Hex' p289 g2 (g3 g4 (g188 g187 g289 ttRp290 (dp291 g9 g10 ((ltRp292 sg12 g189 sbsS'Integer' p293 g2 (g3 g4 (g188 g187 g293 ttRp294 (dp295 g9 g10 ((lp296 g2 (g3 g4 (g188 g187 g293 S'Long' p297 ttRp298 (dp299 g9 g10 ((ltRp300 sg12 g294 sbatRp301 sg297 g298 sg12 g189 sbsS'Octal' p302 g2 (g3 g4 (g188 g187 g302 ttRp303 (dp304 g9 g10 ((ltRp305 sg12 g189 sbsg9 g10 ((lp306 g192 ag196 ag303 ag282 ag2 (g3 g4 (g188 g187 S'Oct' p307 ttRp308 (dp309 g9 g10 ((ltRp310 sg12 g189 sbag294 ag286 ag290 atRp311 sg307 g308 sbsg188 g199 sg89 g2 (g3 g4 (g89 ttRp312 (dp313 g9 g10 ((ltRp314 sg12 g19 sbsS'Error' p315 g2 (g3 g4 (g315 ttRp316 (dp317 g9 g10 ((ltRp318 sg12 g19 sbsS'Operator' p319 g2 (g3 g4 (g319 ttRp320 (dp321 g9 g10 ((lp322 g2 (g3 g4 (g319 S'Word' p323 ttRp324 (dp325 g9 g10 ((ltRp326 sg12 g320 sbatRp327 sg323 g324 sg12 g19 sbsg9 g10 ((lp328 g22 ag316 ag13 ag165 ag43 ag178 ag136 ag199 ag320 ag312 atRp329 sg201 g202 sbsS'Deleted' p330 g2 (g3 g4 (g5 g330 ttRp331 (dp332 g9 g10 ((ltRp333 sg12 g13 sbsg6 g7 sS'Emph' p334 g2 (g3 g4 (g5 g334 ttRp335 (dp336 g9 g10 ((ltRp337 sg12 g13 sbsS'Output' p338 g2 (g3 g4 (g5 g338 ttRp339 (dp340 g9 g10 ((ltRp341 sg12 g13 sbsS'Subheading' p342 g2 (g3 g4 (g5 g342 ttRp343 (dp344 g9 g10 ((ltRp345 sg12 g13 sbsg315 g2 (g3 g4 (g5 g315 ttRp346 (dp347 g9 g10 ((ltRp348 sg12 g13 sbsg9 g10 ((lp349 g339 ag335 ag346 ag343 ag7 ag331 ag2 (g3 g4 (g5 S'Heading' p350 ttRp351 (dp352 g9 g10 ((ltRp353 sg12 g13 sbag2 (g3 g4 (g5 S'Inserted' p354 ttRp355 (dp356 g9 g10 ((ltRp357 sg12 g13 sbag2 (g3 g4 (g5 S'Strong' p358 ttRp359 (dp360 g9 g10 ((ltRp361 sg12 g13 sbag16 atRp362 sg358 g359 sg354 g355 sg350 g351 sbsbV tp363 a(g165 V File p364 tp365 a(g82 V"temp.py" p366 tp367 a(g165 V, line p368 tp369 a(g189 V1 tp370 a(g165 V\u000a tp371 a(g131 VSyntaxError p372 tp373 a(g165 V: p374 tp375 a(g94 VNon-ASCII character '\u005cxc3' in file temp.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details p376 tp377 a(g165 V\u000a tp378 a.
Python traceback
0
mjtamlyn/django-braces
docs/build/Pygments/tests/examplefiles/output/pytb_test2.pytb
[ "BSD-3-Clause" ]
(ns (defns tests.arc.core :import arc.unit)) (desc "fundamental" (test "is" (is (is 1 1) t (is 1 2) nil (is 1 1 1) t (is 1 1 1 2) nil (is 1) t)) (test "< <= > >=" (is (< 1 2) t (< 1 2 3) t (< 1 3 2) nil (> 2 1) t (> 3 2 1) t (> 2 1 3) nil (<= 1 1 2 3) t (<= 1 1 1) t (<= 1 1 0) nil (>= 1 0) t (>= 3 2 1 1 1 0) t (>= 2 3) nil (<= #\a #\f #\m #\z) t (<= #\a #\x #\f) nil (< 'abc 'def 'ghi) t (> 'abc 'def 'ghi) nil)) (test "eval" (iso (eval '(+ 1 2 3)) 6 (eval '(eval '(+ 1 2 3))) 6 (eval '(eval '(eval '(+ 1 2 3)))) 6 (eval '(eval '(eval '(eval '(+ 1 2 3))))) 6)) (test "exact" (iso (exact 1) t (exact 1.2) nil (exact 10) t (exact 2.45) nil (exact 'a) nil)) (test "compose" (iso ((compose car cdr) '(a b)) 'b)) (test "assoc" (iso (assoc 'a '((b a) (c d) (a b))) '(a b) (assoc 'x '((a b) (2 10) ("x" y))) nil)) (test "alref" (iso (alref '((b a) (c d) (a b)) 'a) 'b (alref '((a b) (2 10) ("x" y)) 'x) nil)) (test "len" (iso (len "abc") 3 (len "") 0 (len nil) 0 (len '(1 2 3)) 3 (len '(1 (2 3 4) 5)) 3 (len (table)) 0 (len (table :a 1 :b 2)) 2)) (test "join" (iso (join '(a b) nil '(c d)) '(a b c d) (join nil) nil (join) nil)) (test "isnt" (iso (isnt 'a 'b) t (isnt 'a 'a) nil)) (test "alist" (iso (alist nil) t (alist '(x)) t (alist '(a . b)) t (alist "ab") nil)) (test "ret" (iso (ret v (+ 1 2) (+ v 3 4 5)) 3)) (test "in" (iso (in (car '(x y)) 'a 'b 'x) t (in (car '(x y)) 'a 'b 'c) nil)) (test "iso" (iso (iso 'a 'b) nil (iso 'a 'a) t (iso '(a) '(a)) t (iso '(a) '(a b)) nil)) (test "when / unless" (is (when t (+ 1 2) (+ 3 4) 5) 5 (when nil (+ 1 2) (+ 3 4) 5) nil (unless nil (+ 1 2) 3) 3 (unless t (+ 1 2) 3) nil)) (test "while" (iso (with (lis nil x 0) (while (< x 3) (assign lis (cons x lis)) (assign x (+ x 1))) lis) '(2 1 0))) (test "reclist" (iso (reclist idfn '(1 2 3)) '(1 2 3) (reclist car '(nil nil 3)) 3 (reclist car '(1 2 3)) 1)) (test "recstring" (iso (with (lis nil str "abc") (recstring (fn (i) (assign lis (cons (str i) lis)) nil) str) lis) '(#\c #\b #\a))) (test "testify" (iso (if ((testify '(1)) '(1)) 'a 'b) 'a (if ((testify is) 'a 'b) 'x 'y) 'y)) (test "carif" (iso (carif 'a) 'a (carif '(x y)) 'x)) (test "some" (iso (some 'x '(1 2 3 x y z)) t (some even '(1 2 3)) t (some odd '(2 4 6)) nil (some #\a "hogehage") t)) (test "all" (iso (all 'a '(a a a a)) t (all 'a '(a b c d)) nil (all 'a '(a a a b)) nil (all 'a nil) t (all #\a "aaaa") t (all #\a "aaab") nil (all #\a "") t)) (test "mem" (iso (mem 'x '(a b c)) nil (mem 'b '(a b c)) '(b c) (mem nil '(a nil c)) '(nil c))) (test "find" (iso (find 'abc '(def ghi jkl abc)) 'abc (find 'abc '(xxx yyy zzz)) nil (find odd '(2 4 6 8 9)) 9 (find even '(3 1 5)) nil)) (test "map" (iso (map (fn (a b c) (+ a b c)) "abc" "def" "ghi") "adgbehcfi")) (test "mappend" (iso (mappend idfn '((a) (b) (c))) '(a b c))) (test "firstn" (iso (firstn 10 nil) nil (firstn 3 '(1 2 3 4 5)) '(1 2 3))) (test "lastn" (iso (lastn 1 '(1 2 3)) '(3) (lastn 10 nil) nil)) (test "lastcons" :ns arc.collection (iso (lastcons '(1 2 3)) '(3) (lastcons nil) nil (lastcons '(1 . 2)) '(1 . 2) (lastcons '(1 2 . 3)) '(2 . 3) )) (test "nthcdr" (iso (nthcdr 3 '(1 2 3 4 5)) '(4 5) (nthcdr 10 '(1 2 3)) nil (nthcdr 1 nil) nil (nthcdr -10 '(1 2 3)) '(1 2 3))) (test "tuples" (iso (tuples '(1 2 3)) '((1 2) (3)) (tuples '(1 2 3) 3) '((1 2 3)) (tuples '(1 2 3 4) 3) '((1 2 3) (4)) (tuples nil 1000) nil)) (test "defs" (iso (do1 nil (defs a (x) (+ x x) b (x) (- x x))) nil (a 10) 20 (b 10) 0)) (test "caris" (iso (caris 'x 'x) nil (caris '(x) 'x) t (caris nil 'x) nil)) (desc "anaphoras" (test "iflet" (iso (let s '(nil nil 1) (iflet x (s 0) (+ x 1) (s 1) (+ x 1) (s 2) (+ x 1))) 2)) (test "whenlet" (iso (whenlet x 1 (+ x x)) 2)) (test "aif" (iso (aif (+ 1 1) (+ it it) nil) 4)) (test "awhen" (iso (awhen (+ 1 1) it) 2)) (test "aand" (iso (aand (+ 1 1) (+ 1 it) (+ 1 it)) 4 (aand (+ 1 1) (+ 1 it) (+ 1 it) (is it 10)) nil)) (test "accum" (iso (accum acc (for i 0 5 (acc i))) '(0 1 2 3 4 5))) (test "drain" (iso (let x 256 (drain (= x (/ x 2)) 1)) '(128 64 32 16 8 4 2))) (test "whilet" (iso (with (s '(1 2 3) r nil) (whilet x s (push x r) (= s (cdr x))) r) '((3) (2 3) (1 2 3))))) (desc "iter-collections" (test "loop" (iso (let l nil (loop (= x 0) (< x 3) (= x (+ x 1)) (= l (cons x l))) l) '(2 1 0))) (test "for" (iso (let l nil (for x 2.5 4.0 (= l (cons x l))) l) '(4.5 3.5 2.5))) (test "down" (iso (let l nil (down x 4.0 2.5 (= l (cons x l))) l) '(2 3 4))) (test "repeat" (iso (let x 1 (repeat 10 (= x (+ x x))) x) 1024)) (test "forlen" (iso (with (x '(a b c) a "") (forlen i x (= a (+ (x i) "-" a))) a) "c-b-a-" (with (x "abcd" a "") (forlen i x (= a (+ (x i) "-" a))) a) "d-c-b-a-")) (test "walk" (iso (let l nil (walk '(1 2 3) [= l (cons (+ _ 1) l)]) (nrev l)) '(2 3 4) (with (l nil s "smihica") (walk s [= l (cons _ l)]) (nrev l)) '(#\s #\m #\i #\h #\i #\c #\a))) (test "each" (iso (with (l nil s "smihica") (each iter s (= l (cons iter l))) (nrev l)) '(#\s #\m #\i #\h #\i #\c #\a))) (test "push" (iso (let s '(1 2 3) (push 0 s) s) '(0 1 2 3))) (test "swap" (iso (let s '(1 2 3) (swap (s 0) (s 2)) s) '(3 2 1))) (test "rotate" (iso (let s '(1 2 3) (rotate (s 0) (s 1) (s 2)) s) '(2 3 1))) (test "pop" (iso (let s '(1 2 3) (list (pop s) s)) '(1 (2 3)))) (test "on" (iso (let s nil (on x '(1 2 3) (push (list index x) s)) s) '((2 3) (1 2) (0 1)) (let s nil (on x "abc" (push (list index x) s)) s) '((2 #\c) (1 #\b) (0 #\a)))) ) ;;;; (desc "set-functions" (test "adjoin" (iso (adjoin 'x '(a b c)) '(x a b c) (adjoin 'x '(a b c x)) '(a b c x) (adjoin '(a b c) '((d e f) g)) '((a b c) (d e f) g) (adjoin '(a b c) '((d e f) g (a b c))) '((d e f) g (a b c)) (adjoin 'a nil) '(a))) (test "pushnew" (iso (let s '(a b c) (pushnew 'd s) s) '(d a b c) (let s '(a b c) (pushnew 'b s) s) '(a b c) (let s '((a) (b) (c)) (pushnew '(b) s is) s) '((b) (a) (b) (c)))) (test "pull" (iso (let s '(a b c) (pull 'b s) s) '(a c) (let s '(a b c) (pull 'x s) s) '(a b c))) (test "togglemem" (iso (let s '(a b c) (togglemem 'x s) s) '(x a b c) (let s '(a b c) (togglemem 'a s) s) '(b c)))) (desc "replace-macros" (test "++" (iso (let x '(0) (++ (car x)) x) '(1) (with (x 0 y '(1 2)) (++ x) (++ x) (++ (cadr y)) (++ (cadr y)) (list x y)) '(2 (1 4)))) (test "--" (iso (let x '(1) (-- (car x)) x) '(0))) (test "zap" (iso (let x 1 (zap + x 1) (zap + x 1) x) 3 (let x '(1) (zap + (car x) 1) (zap + (car x) 1) x) '(3))) (test "wipe" (iso (do (wipe x y z) (list x y z)) '(nil nil nil))) (test "set" (iso (do (set x y z) (list x y z)) '(t t t)))) ;;;;; (desc "primitives" (test "nconc" :ns arc.collection (iso (nconc '(1 2 3) '(2 3 4)) '(1 2 3 2 3 4) (with (x '(1 2 3) y '(4 5 6)) (list (is (nconc x y) x) x)) '(t (1 2 3 4 5 6)) (nconc '(1 2) nil '(3 4)) '(1 2 3 4) (nconc nil) nil (nconc nil nil nil) nil (nconc) nil (nconc nil '(1 2)) '(1 2) (nconc nil '(1 2) nil '(3 4)) '(1 2 3 4) (with (x '(1) y '(2) z '(3)) (list (nconc nil x nil y nil z) x y z)) '((1 2 3) (1 2 3) (2 3) (3)))) (test "flat" (iso (flat '(1 2 (3 4 nil (5 6 7) ((8))) 9)) '(1 2 3 4 5 6 7 8 9) (flat '(1 2 (3 4 nil (5 6 7) ((8))) 9) 10) '(1 2 3 4 5 6 7 8 9) (flat '(1 2 (3 4 nil (5 6 7) ((8))) 9) 3) '(1 2 3 4 5 6 7 8 9) (flat '(1 2 (3 4 nil (5 6 7) ((8))) 9) 2) '(1 2 3 4 5 6 7 (8) 9) (flat '(1 2 (3 4 nil (5 6 7) ((8))) 9) 1) '(1 2 3 4 nil (5 6 7) ((8)) 9) (flat '(1 2 (3 4 nil (5 6 7) ((8))) 9) 0) '(1 2 (3 4 nil (5 6 7) ((8))) 9) (flat '(nil 1 2 nil 3 ((nil)))) '(1 2 3) (flat '((((((nil))))))) nil (flat nil) nil (flat 'a) '(a))) (test "rand-string" (iso :f [no (no _)] (match #/^[A-Za-z0-9]{10}$/ (rand-string 10)) t (match #/^[abc]{10}$/ (rand-string 10 "abc")) t) (is (rand-string 0) ""))) (desc "sorts" (test "best" (iso (best > '(3 1 5 2 4)) 5)) (test "most" (iso (most len '("hoge" "fuga" "moemoe")) "moemoe")) (test "insert-sorted" (iso (insert-sorted > 5 '(10 3 1)) '(10 5 3 1) (insert-sorted > 5 '(10 5 1)) '(10 5 5 1))) (test "insort" (iso (let x '(2 4 6) (insort < 3 x) x) '(2 3 4 6))) (test "reinsert-sorted" (iso (reinsert-sorted > 5 '(10 3 1)) '(10 5 3 1) (reinsert-sorted > 5 '(10 5 1)) '(10 5 1))) (test "insertnew" (iso (let x '(2 4 6) (insortnew < 3 x) x) '(2 3 4 6)))) ;; defs ;; warn ;; todo support (write x) ;; atomic ;; todo support thread ;; atlet ;; atwith (test "=" (iso (let x (list 10) (= (car x) (+ (car x) 1)) x) '(11) (let x '((10 (11 . 12))) (= (cdr (cadar x)) '(12 . nil)) x) '((10 (11 12))) (let x '((10)) (= (caar x) (+ (caar x) 1)) x) '((11)) (let x (table) (= (x 'k) 'v) (x 'k)) 'v (let x (table) (= x!k 'v) (x 'k)) 'v (let x (table) (= (x 'k) 'v (x 'k2) 'v2) (x 'k2)) 'v2 (let x 1 (= x 2) x) 2)) )
Arc
5
smihica/arc-js
test/unit/arc/core.arc
[ "Artistic-2.0" ]
/// <reference path="fourslash.ts" /> //// function foo (a: number, b: number) {} //// foo(1, 2); verify.getInlayHints([], undefined, { includeInlayParameterNameHints: "none" });
TypeScript
2
monciego/TypeScript
tests/cases/fourslash/inlayHintsShouldWork14.ts
[ "Apache-2.0" ]
--TEST-- Bug #73973 debug_zval_dump() assertion error for resource consts with --enable-debug --FILE-- <?php define('myerr', fopen('php://stderr', 'w')); debug_zval_dump(myerr); ?> --EXPECTF-- resource(5) of type (stream) refcount(%d)
PHP
3
thiagooak/php-src
ext/standard/tests/general_functions/bug73973.phpt
[ "PHP-3.01" ]
%{ /* * Test program: Advanced Calculator * by Zhao Cheng 5/20/2012 */ %} %union { double val; /* For returning numbers. */ symrec *tptr; /* For returning symbol-table pointers. */ } %token <val> NUMBER %token <tptr> VAR FNCT %right '=' %left '+' '-' %left '*' '/' %right '^' %left NEG %type <val> expression %{ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "calc.h" /* Contains definition of `symrec'. */ %} %% statement : /* empty */ { exit(0); } | expression { printf("= %f\n", $1); } ; expression : NUMBER { $$ = $1; } | VAR { $$ = $1->value.var; } | VAR '=' expression { $$ = $3; $1->value.var = $3; } | FNCT '(' expression ')' { $$ = (*($1->value.fnctptr))($3); } | expression '*' expression { $$ = $1 * $3; } | expression '/' expression { $$ = $1 / $3; } | expression '+' expression { $$ = $1 + $3; } | expression '-' expression { $$ = $1 - $3; } | expression '^' expression { $$ = pow($1, $3); } | '-' expression %prec NEG { $$ = -$2; } | '(' expression ')' { $$ = $2; } ; %% struct init { char const *fname; double (*fnct) (double); }; struct init const arith_fncts[] = { "sin" , sin , "asin" , asin , "cos" , cos , "acos" , acos , "tan" , tan , "atan" , atan , "ceil" , ceil , "floor" , floor , "abs" , fabs , "ln" , log , "log" , log10 , "lg" , log2 , "exp" , exp , "sqrt" , sqrt , 0 , 0 }; /* The symbol table: a chain of `struct symrec'. */ symrec *sym_table; /* Put arithmetic functions in table. */ void init_table (void) { int i; symrec *ptr; for (i = 0; arith_fncts[i].fname != 0; i++) { ptr = putsym (arith_fncts[i].fname, FNCT); ptr->value.fnctptr = arith_fncts[i].fnct; } } int main() { init_table(); while (yyparse() == 0) ; return 0; } void yyerror(const char *msg) { fprintf(stderr, "Error: %s\n", msg); } symrec * putsym (char const *sym_name, int sym_type) { symrec *ptr; ptr = (symrec *) malloc (sizeof (symrec)); ptr->name = (char *) malloc (strlen (sym_name) + 1); strcpy (ptr->name,sym_name); ptr->type = sym_type; ptr->value.var = 0; /* Set value to 0 even if fctn. */ ptr->next = (struct symrec *)sym_table; sym_table = ptr; return ptr; } symrec * getsym (char const *sym_name) { symrec *ptr; for (ptr = sym_table; ptr != (symrec *) 0; ptr = (symrec *)ptr->next) if (strcmp (ptr->name,sym_name) == 0) return ptr; return 0; }
Yacc
5
Cardsareus/linguist
samples/Yacc/calc.yy
[ "MIT" ]
--TEST-- Testing throw exception doesn't crash with wrong params, variant 2 --FILE-- <?php throw new Exception(new stdClass); ?> --EXPECTF-- Fatal error: Uncaught TypeError: Exception::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d Stack trace: #0 %sexception_019.php(%d): Exception->__construct(Object(stdClass)) #1 {main} thrown in %sexception_019.php on line %d
PHP
2
NathanFreeman/php-src
Zend/tests/exception_019.phpt
[ "PHP-3.01" ]
(ns hacker-scripts.coffee (:require [environ.core :refer [env]]) (:import (java.net Socket) (java.io BufferedReader PrintWriter InputStreamReader))) (def my-username "my-username") (def my-password "my-password") (def coffee-machine-ip "10.10.42.42") (def password-prompt "Password: ") (def connection-port 23) (def sec-delay-before-brew 17) (def sec-delay-before-pour 24) (defn logged-in? [] (= (:USER env) my-username)) (defn auth [in-stream out-stream] (if (= (.readLine in-stream) password-prompt) (.println out-stream my-password) (throw (RuntimeException. "Failed to authenticate with coffee machine")))) (defn command-brew-pour [out-stream] (do (Thread/sleep (* 1000 sec-delay-before-brew)) (.println out-stream "sys brew") (Thread/sleep (* 1000 sec-delay-before-pour)) (.println out-stream "sys pour"))) (defn coffee [] (if (logged-in?) (with-open [socket (Socket. coffee-machine-ip connection-port) out-stream (PrintWriter. (.getOutputStream socket) true) in-stream (BufferedReader. (InputStreamReader. (.getInputStream socket)))] (do (auth in-stream out-stream) (command-brew-pour out-stream)))))
Clojure
4
johndemlon/hacker-scripts
clojure/coffee.clj
[ "WTFPL" ]
; CLW file contains information for the MFC ClassWizard [General Info] Version=1 LastClass=CChildFrame LastTemplate=CDialog NewFileInclude1=#include "stdafx.h" NewFileInclude2=#include "Resourcer.h" LastPage=0 ClassCount=20 Class1=CSelectResource Class2=CResourcerDoc Class3=CSelectClass Class4=ResourcerList ResourceCount=14 Resource1=IDD_SELECT_IMPORT_PORT Resource2=IDR_MAINFRAME Resource3=CG_IDD_PROGRESS Class5=CChildFrame Class6=CreateDirectory Class7=DocumentOptions Class8=ResourcerTree Resource4=IDD_ABOUTBOX Resource5=IDD_CHOOSE_PORTS Resource6=IDD_CLASS_HEIRARCHY Resource7=IDD_SELECT_PORT_TYPE Class9=CChooseLibPaths Class10=CSelectImportPort Resource8=IDD_SELECTCLASS Class11=CSelectPortType Resource9=IDD_PORT_DEPEND Class12=CProgressDlg Resource10=IDD_CREATE_DIRECTORY Class13=CChoosePorts Resource11=IDD_CHOOSE_LIB_PATHS Resource12=IDD_SELECT_RESOURCE Class14=CPortDepend Resource13=IDD_DOC_OPTIONS Class15=CMessageList Class16=CLabelVersion Class17=CRollbackVersion Class18=CHistory Class19=CUndelete Class20=CLockedFiles Resource14=IDR_RSRTYPE [CLS:CResourcerDoc] Type=0 HeaderFile=ResourcerDoc.h ImplementationFile=ResourcerDoc.cpp Filter=N BaseClass=CDocument VirtualFilter=DC LastObject=CResourcerDoc [CLS:CChildFrame] Type=0 HeaderFile=ChildFrm.h ImplementationFile=ChildFrm.cpp Filter=M BaseClass=CMDIChildWnd VirtualFilter=mfWC LastObject=CChildFrame [DLG:IDD_ABOUTBOX] Type=1 Class=? ControlCount=5 Control1=IDC_STATIC,static,1342177283 Control2=IDC_STATIC,static,1342308480 Control3=IDC_STATIC,static,1342308352 Control4=IDOK,button,1342373889 Control5=IDC_STATIC,static,1342308352 [MNU:IDR_MAINFRAME] Type=1 Class=? Command1=ID_FILE_NEW Command2=ID_FILE_OPEN Command3=ID_FILE_PRINT_SETUP Command4=ID_FILE_MRU_FILE1 Command5=ID_APP_EXIT Command6=ID_VIEW_TOOLBAR Command7=ID_VIEW_STATUS_BAR Command8=ID_VIEW_OPTIONS Command9=ID_APP_ABOUT CommandCount=9 [TB:IDR_MAINFRAME] Type=1 Class=CMainFrame Command1=ID_FILE_NEW Command2=ID_FILE_OPEN Command3=ID_FILE_SAVE Command4=ID_EDIT_CUT Command5=ID_EDIT_COPY Command6=ID_EDIT_PASTE Command7=ID_FILE_PRINT Command8=ID_DOCUMENT_OPTIONS Command9=ID_DOCUMENT_BUILD Command10=ID_DOCUMENT_BUILDHEADER Command11=ID_DOCUMENT_BUILDSELECTED Command12=ID_DOCUMENT_BUILDALL Command13=ID_TREE_CREATE Command14=ID_TREE_DELETE Command15=ID_PORTS_DELETE Command16=ID_PORTS_PROPERTIES Command17=ID_PORTS_SHELLOPEN Command18=ID_APP_ABOUT CommandCount=18 [MNU:IDR_RSRTYPE] Type=1 Class=CResourcerDoc Command1=ID_FILE_NEW Command2=ID_FILE_OPEN Command3=ID_FILE_CLOSE Command4=ID_FILE_SAVE Command5=ID_FILE_SAVE_AS Command6=ID_FILE_PRINT Command7=ID_FILE_PRINT_PREVIEW Command8=ID_FILE_PRINT_SETUP Command9=ID_FILE_SEND_MAIL Command10=ID_FILE_MRU_FILE1 Command11=ID_APP_EXIT Command12=ID_EDIT_UNDO Command13=ID_EDIT_CUT Command14=ID_EDIT_COPY Command15=ID_EDIT_PASTE Command16=ID_EDIT_RENAME Command17=ID_VIEW_TOOLBAR Command18=ID_VIEW_STATUS_BAR Command19=ID_VIEW_OPTIONS Command20=ID_VIEW_REFRESH Command21=ID_VIEW_CLASSHEIRARCHY Command22=ID_VIEW_UPDATESETTINGS Command23=ID_VIEW_PORTLIBRARIES Command24=ID_DOCUMENT_OPTIONS Command25=ID_DOCUMENT_BUILD Command26=ID_DOCUMENT_CLEAN Command27=ID_DOCUMENT_SYNCRONIZE Command28=ID_DOCUMENT_CLEAROUTPUT Command29=ID_TREE_CREATE Command30=ID_TREE_DELETE Command31=ID_PORTS_CREATE Command32=ID_PORTS_DELETE Command33=ID_PORTS_PROPERTIES Command34=ID_PORTS_UPGRADE Command35=ID_PORTS_TOUCH Command36=ID_PORTS_SHELLOPEN Command37=ID_PORTS_DEPENDENCIES Command38=ID_WINDOW_NEW Command39=ID_WINDOW_CASCADE Command40=ID_WINDOW_TILE_HORZ Command41=ID_WINDOW_ARRANGE Command42=ID_APP_ABOUT CommandCount=42 [ACL:IDR_MAINFRAME] Type=1 Class=CMainFrame Command1=ID_FILE_NEW Command2=ID_FILE_OPEN Command3=ID_FILE_SAVE Command4=ID_FILE_PRINT Command5=ID_EDIT_UNDO Command6=ID_EDIT_CUT Command7=ID_EDIT_COPY Command8=ID_EDIT_PASTE Command9=ID_EDIT_UNDO Command10=ID_EDIT_CUT Command11=ID_EDIT_COPY Command12=ID_EDIT_PASTE Command13=ID_NEXT_PANE Command14=ID_PREV_PANE CommandCount=14 [CLS:ResourcerTree] Type=0 HeaderFile=ResourcerTree.h ImplementationFile=ResourcerTree.cpp BaseClass=CTreeView Filter=C LastObject=ID_VIEW_REFRESH VirtualFilter=VWC [CLS:ResourcerList] Type=0 HeaderFile=ResourcerList.h ImplementationFile=ResourcerList.cpp BaseClass=CListView Filter=C LastObject=ID_VERSIONCONTROL_UNDELETE VirtualFilter=VWC [DLG:IDD_DOC_OPTIONS] Type=1 Class=DocumentOptions ControlCount=19 Control1=IDC_EDIT2,edit,1350631552 Control2=IDC_EDIT4,edit,1350631552 Control3=IDC_EDIT5,edit,1350631552 Control4=IDC_EDIT6,edit,1350631584 Control5=IDC_EDIT1,edit,1350633600 Control6=IDC_BUTTON1,button,1342242816 Control7=IDC_EDIT7,edit,1350633600 Control8=IDC_BUTTON2,button,1342242816 Control9=IDC_EDIT3,edit,1350633600 Control10=IDC_BUTTON3,button,1342242816 Control11=IDCANCEL,button,1342242816 Control12=IDOK,button,1342242817 Control13=IDC_STATIC,static,1342308352 Control14=IDC_STATIC,static,1342308352 Control15=IDC_STATIC,static,1342308352 Control16=IDC_STATIC,static,1342308352 Control17=IDC_STATIC,static,1342308352 Control18=IDC_STATIC,static,1342308352 Control19=IDC_STATIC,static,1342308352 [CLS:DocumentOptions] Type=0 HeaderFile=DocumentOptions.h ImplementationFile=DocumentOptions.cpp BaseClass=CDialog Filter=D LastObject=IDC_BUTTON2 VirtualFilter=dWC [DLG:IDD_CREATE_DIRECTORY] Type=1 Class=CreateDirectory ControlCount=3 Control1=IDC_DIR_NAME,edit,1350631552 Control2=IDOK,button,1342242817 Control3=IDCANCEL,button,1342242816 [CLS:CreateDirectory] Type=0 HeaderFile=CreateDirectory.h ImplementationFile=CreateDirectory.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDC_EDIT1 [ACL:IDR_RSRTYPE] Type=1 Class=? Command1=ID_PORTS_DELETE Command2=ID_EDIT_RENAME Command3=ID_VIEW_REFRESH CommandCount=3 [DLG:IDD_SELECT_RESOURCE] Type=1 Class=CSelectResource ControlCount=4 Control1=IDOK,button,1342242817 Control2=IDCANCEL,button,1342242816 Control3=IDC_FILE_LIST,SysListView32,1350631455 Control4=IDC_BUTTON1,button,1342242816 [CLS:CSelectResource] Type=0 HeaderFile=SelectResource.h ImplementationFile=SelectResource.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=CSelectResource [DLG:IDD_CLASS_HEIRARCHY] Type=1 Class=? ControlCount=2 Control1=IDOK,button,1342242817 Control2=IDC_TREE1,SysTreeView32,1350631431 [DLG:IDD_CHOOSE_LIB_PATHS] Type=1 Class=CChooseLibPaths ControlCount=5 Control1=IDOK,button,1342242817 Control2=IDCANCEL,button,1342242816 Control3=IDC_PATH_LIST,SysListView32,1350631455 Control4=IDC_ADD,button,1342242816 Control5=IDC_REMOVE,button,1342242816 [CLS:CChooseLibPaths] Type=0 HeaderFile=ChooseLibPaths.h ImplementationFile=ChooseLibPaths.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDC_PATH_LIST [DLG:IDD_SELECT_PORT_TYPE] Type=1 Class=CSelectPortType ControlCount=3 Control1=IDOK,button,1342242817 Control2=IDCANCEL,button,1342242816 Control3=IDC_PORT_LIST,SysListView32,1350631447 [CLS:CSelectPortType] Type=0 HeaderFile=SelectPortType.h ImplementationFile=SelectPortType.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDC_PORT_LIST [DLG:CG_IDD_PROGRESS] Type=1 Class=CProgressDlg ControlCount=3 Control1=CG_IDC_PROGDLG_PROGRESS,msctls_progress32,1350565888 Control2=CG_IDC_PROGDLG_PERCENT,static,1342308352 Control3=CG_IDC_PROGDLG_STATUS,static,1342308352 [CLS:CProgressDlg] Type=0 HeaderFile=ProgDlg.h ImplementationFile=ProgDlg.cpp BaseClass=CDialog LastObject=CG_IDC_PROGDLG_PERCENT [DLG:IDD_CHOOSE_PORTS] Type=1 Class=CChoosePorts ControlCount=6 Control1=IDOK,button,1342242817 Control2=IDCANCEL,button,1342242816 Control3=IDC_PORT_LIST,SysListView32,1350631455 Control4=IDC_ADD,button,1342242816 Control5=IDC_REMOVE,button,1342242816 Control6=IDC_BUTTON1,button,1342242816 [CLS:CChoosePorts] Type=0 HeaderFile=ChoosePorts.h ImplementationFile=ChoosePorts.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDC_BUTTON1 [DLG:IDD_SELECTCLASS] Type=1 Class=CSelectClass ControlCount=3 Control1=IDOK,button,1342242817 Control2=IDCANCEL,button,1342242816 Control3=IDC_COMBO1,combobox,1344340227 [CLS:CSelectClass] Type=0 HeaderFile=SelectClass.h ImplementationFile=SelectClass.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=CSelectClass [DLG:IDD_PORT_DEPEND] Type=1 Class=CPortDepend ControlCount=2 Control1=IDOK,button,1342242817 Control2=IDC_TREE1,SysTreeView32,1350631431 [CLS:CPortDepend] Type=0 HeaderFile=PortDepend.h ImplementationFile=PortDepend.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=CPortDepend [DLG:IDD_SELECT_IMPORT_PORT] Type=1 Class=CSelectImportPort ControlCount=3 Control1=IDOK,button,1342242817 Control2=IDCANCEL,button,1342242816 Control3=IDC_PORT_LIST,SysListView32,1350631447 [CLS:CSelectImportPort] Type=0 HeaderFile=SelectImportPort.h ImplementationFile=SelectImportPort.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDOK [CLS:CMessageList] Type=0 HeaderFile=MessageList.h ImplementationFile=MessageList.cpp BaseClass=CListView Filter=C LastObject=CMessageList VirtualFilter=VWC [TB:IDR_RSRTYPE] Type=1 Class=? Command1=ID_FILE_NEW Command2=ID_FILE_OPEN Command3=ID_FILE_SAVE Command4=ID_EDIT_CUT Command5=ID_EDIT_COPY Command6=ID_EDIT_PASTE Command7=ID_FILE_PRINT Command8=ID_DOCUMENT_OPTIONS Command9=ID_DOCUMENT_BUILD Command10=ID_DOCUMENT_BUILDSELECTED Command11=ID_DOCUMENT_BUILDALL Command12=ID_VERSIONCONTROL_CHECKOUT Command13=ID_VERSIONCONTROL_CHECKIN Command14=ID_VERSIONCONTROL_UNCHECK Command15=ID_TREE_CREATE Command16=ID_TREE_DELETE Command17=ID_PORTS_DELETE Command18=ID_PORTS_PROPERTIES Command19=ID_PORTS_SHELLOPEN Command20=ID_APP_ABOUT CommandCount=20 [CLS:CLabelVersion] Type=0 HeaderFile=LabelVersion.h ImplementationFile=LabelVersion.cpp BaseClass=CDialog Filter=D LastObject=CLabelVersion VirtualFilter=dWC [CLS:CRollbackVersion] Type=0 HeaderFile=RollbackVersion.h ImplementationFile=RollbackVersion.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDC_ROLLBACK_FILE [CLS:CHistory] Type=0 HeaderFile=History.h ImplementationFile=History.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDC_BUTTON1 [CLS:CUndelete] Type=0 HeaderFile=Undelete.h ImplementationFile=Undelete.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDC_BUTTON1 [CLS:CLockedFiles] Type=0 HeaderFile=LockedFiles.h ImplementationFile=LockedFiles.cpp BaseClass=CDialog Filter=D VirtualFilter=dWC LastObject=IDC_BUTTON3
Clarion
2
CarysT/medusa
Tools/ResourcerDoc/ResourcerDoc.clw
[ "MIT" ]
ul { list-style-type: none; padding: 0; } li { display: block; width: 120px; line-height: 50px; padding: 0 10px; box-sizing: border-box; background-color: #eee; border-radius: 4px; margin: 10px; cursor: pointer; overflow: hidden; white-space: nowrap; } .active { background-color: #cfd8dc; transform: scale(1.1); } .inactive { background-color: #eee; transform: scale(1); }
CSS
3
coreyscherbing/angular
aio/content/examples/animations/src/app/hero-list.component.css
[ "MIT" ]
<?php $this->layout('main', ['title' => __('Streamer/DJ Accounts')]) ?> <p><?=__('Streamer accounts are currently disabled for this station. To enable streamer accounts, click the button below.') ?></p> <a class="btn btn-lg btn-success" role="button" href="<?=$router->fromHere(null, [], ['enable' => true]) ?>"><?=__('Enable Streaming') ?></a>
HTML+PHP
4
ikafridi/PlayCast
templates/stations/streamers/disabled.phtml
[ "Apache-2.0" ]
--TEST-- JIT CAST: 002 --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=1M --FILE-- <?php function test(?int $i) { $a = (array) $i; $a[-1] = 1; var_dump($a); } test(null); ?> --EXPECT-- array(1) { [-1]=> int(1) }
PHP
3
NathanFreeman/php-src
ext/opcache/tests/jit/cast_002.phpt
[ "PHP-3.01" ]
%=============% % GAME ASSETS %=============% % Load Image Assets var titlescreen : int := Pic.FileNew ("Resources/Images/Menus/Titlescreen/titlescreen.bmp") var mainmenu : int := Pic.FileNew ("Resources/Images/Menus/MainMenu/mainmenu.bmp") var controlsmenu : int := Pic.FileNew ("Resources/Images/Menus/ControlsMenu/controls.bmp") var creditsmenu : int := Pic.FileNew ("Resources/Images/Menus/CreditsMenu/credits.bmp") var yesbutton : int := Pic.FileNew ("Resources/Images/Misc/yes.bmp") var nobutton : int := Pic.FileNew ("Resources/Images/Misc/no.bmp") var map : array 1 .. 4 of int var map_thumbnail : array 1 .. 4 of int var escapemenu : array 1 .. 4 of int var infomenu : array 1 .. 6 of int var Pwinscreen : array 0 .. 2 of int for i : 1 .. 4 map (i) := Pic.FileNew ("Resources/Images/Maps/map/map" + intstr (i) + ".bmp") map_thumbnail (i) := Pic.FileNew ("Resources/Images/Maps/map_thumbnail/map" + intstr (i) + "_thumbnail.bmp") escapemenu (i) := Pic.FileNew ("Resources/Images/Menus/EscapeMenu/escape" + intstr (i) + ".bmp") end for for i : 1 .. 6 infomenu (i) := Pic.FileNew ("Resources/Images/Menus/InfoMenu/info" + intstr (i) + ".bmp") end for for i : 0 .. 2 Pwinscreen (i) := Pic.FileNew ("Resources/Images/Misc/winscreenP" + intstr (i) + ".bmp") end for % Load Audio Assets process menumusic Music.PlayFileLoop ("Resources/Audio/Soundtracks/menumusic.MP3") end menumusic process level1music Music.PlayFileLoop ("Resources/Audio/Soundtracks/level1music.MP3") end level1music process level2music Music.PlayFileLoop ("Resources/Audio/Soundtracks/level2music.MP3") end level2music process level3music Music.PlayFileLoop ("Resources/Audio/Soundtracks/level3music.MP3") end level3music process level4music Music.PlayFileLoop ("Resources/Audio/Soundtracks/level4music.MP3") end level4music process hitsound1 Music.PlayFile ("Resources/Audio/SoundEffects/punchsound1.WAV") end hitsound1 process hitsound2 Music.PlayFile ("Resources/Audio/SoundEffects/punchsound2.WAV") end hitsound2 procedure deathsound Music.PlayFile ("Resources/Audio/SoundEffects/death.MP3") end deathsound procedure victorysong Music.PlayFile ("Resources/Audio/Soundtracks/victory.MP3") end victorysong
Turing
4
alipianu/PSF
Resources/GameAssets.tu
[ "CC-BY-4.0", "CC-BY-3.0", "Fair" ]
-@ import val invoice: org.eligosource.eventsourced.example.domain.Invoice %h2 Invoice Details %table %tr %td Id: %td = invoice.id %tr %td Version: %td = invoice.version %tr %td Sum: %td = invoice.sum %tr %td Discount: %td = invoice.discount %h3 Items %table %tr %th Description %th Count %th Amount - for { item <- invoice.items } %tr %td = item.description %td = item.count %td = item.amount
Scaml
4
pkeshab/eventsourced-example
src/main/webapp/WEB-INF/org/eligosource/eventsourced/example/web/Invoice.scaml
[ "Apache-2.0" ]
import io.vertx.ceylon.platform { Verticle, Container } import io.vertx.ceylon.core { Vertx } import io.vertx.ceylon.core.http { HttpServerRequest } shared class SimpleFormServer() extends Verticle() { shared actual void start(Vertx vertx, Container container) { vertx.createHttpServer().requestHandler(void(HttpServerRequest req) { if (req.uri == "/") { req.response.sendFile("simpleform/index.html"); } else if (req.uri.startsWith("/form")) { req.response.chunked = true; req.expectMultiPart(true); req.formAttributes.onComplete(void(Map<String,{String+}> form) { for (entry in form) { req.response.write("Got attr ``entry.key`` : ``entry.item``\n"); } req.response.end(); }, (Throwable t) => t.printStackTrace()); } else { req.response.status(404); req.response.end(); } }).listen(8080); } }
Ceylon
3
vietj/vertx-examples
src/raw/ceylon/simpleform/SimpleFormServer.ceylon
[ "Apache-2.0" ]
# --- PvApi --- if(NOT HAVE_PVAPI) if(X86_64) set(arch x64) else() set(arch x86) endif() find_path(PVAPI_INCLUDE "PvApi.h" PATHS "${PVAPI_ROOT}" ENV PVAPI_ROOT PATH_SUFFIXES "inc-pc") find_library(PVAPI_LIBRARY "PvAPI" PATHS "${PVAPI_ROOT}" ENV PVAPI_ROOT PATH_SUFFIXES "bin-pc/${arch}/${gcc}") if(PVAPI_INCLUDE AND PVAPI_LIBRARY) set(HAVE_PVAPI TRUE) endif() endif() if(HAVE_PVAPI) ocv_add_external_target(pvapi "${PVAPI_INCLUDE}" "${PVAPI_LIBRARY}" "HAVE_PVAPI") endif()
CMake
3
xipingyan/opencv
modules/videoio/cmake/detect_pvapi.cmake
[ "Apache-2.0" ]
using System; using Avalonia.OpenGL.Egl; using Avalonia.OpenGL.Surfaces; namespace Avalonia.Android.OpenGL { internal sealed class GlRenderTarget : EglPlatformSurfaceRenderTargetBase, IGlPlatformSurfaceRenderTargetWithCorruptionInfo { private readonly EglGlPlatformSurfaceBase.IEglWindowGlPlatformSurfaceInfo _info; private readonly EglSurface _surface; private readonly IntPtr _handle; public GlRenderTarget( EglPlatformOpenGlInterface egl, EglGlPlatformSurfaceBase.IEglWindowGlPlatformSurfaceInfo info, EglSurface surface, IntPtr handle) : base(egl) { _info = info; _surface = surface; _handle = handle; } public bool IsCorrupted => _handle != _info.Handle; public override IGlPlatformSurfaceRenderingSession BeginDraw() => BeginDraw(_surface, _info); } }
C#
4
jangernert/Avalonia
src/Android/Avalonia.Android/OpenGL/GlRenderTarget.cs
[ "MIT" ]
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This is a "No Compile Test" suite. // https://dev.chromium.org/developers/testing/no-compile-tests #include "base/containers/contains.h" #include <set> #include "base/strings/string_piece.h" namespace base { // The following code would perform a linear search through the set which is // likely unexpected and not intended. This is because the expression // `set.find(kFoo)` is ill-formed, since there is no implimit conversion from // StringPiece to `std::string`. This means Contains would fall back to the // general purpose `base::ranges::find(set, kFoo)` linear search. // To fix this clients can either use a more generic comparator like std::less<> // (in this case `set.find()` accepts any type that is comparable to a // std::string), or pass an explicit projection parameter to Contains, at which // point it will always perform a linear search. #if defined(NCTEST_CONTAINS_UNEXPECTED_LINEAR_SEARCH) // [r"Error: About to perform linear search on an associative container."] void WontCompile() { constexpr StringPiece kFoo = "foo"; std::set<std::string> set = {"foo", "bar", "baz"}; Contains(set, kFoo); } #endif } // namespace base
nesC
4
zealoussnow/chromium
base/containers/contains_unittest.nc
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
--TEST-- JIT ASSIGN: Assign reference IS_VAR --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=1M opcache.protect_memory=1 ;opcache.jit_debug=257 --EXTENSIONS-- opcache --FILE-- <?php $a = $ref =& $val; var_dump($a); ?> --EXPECT-- NULL
PHP
2
NathanFreeman/php-src
ext/opcache/tests/jit/assign_039.phpt
[ "PHP-3.01" ]
import "ecere" import "Style" import "Image" class LayoutWindow : Window { class_no_expansion; public: property LayoutWindow parent { get { return parent; } set { Window::parent = value; parent = value; parent.AddChild(this); } } Style style {sizeType=fit,block=false}; /*property Style style { set { Size minFit {Width(),Height()}; Size newFit; style = value; newFit = {Width(),Height()}; if(newFit.w > minFit.w || newFit.h > minFit.h) { parent.Position(0,0); } } }*/ property Style styleDefault { get { return styleDefault; } set { styleDefault = value; CascadeStyles(); } } Style styleOver; Style styleActive; private: Style styleDefault; LayoutWindow parent; Array<LayoutWindow> children; List<Style> styles; void AddChild(LayoutWindow child) { if(children) { for(testChild : children) { if(testChild == child) { return; } } } else { children = {}; } children.Add(child); //if(!children.Find(child)) { // children.Add(child); //} } void Position(int x, int y) { WindowSpacers borderSize = style.border.LayoutSize(); WindowSpacers vacant {style.padding.top + borderSize.top , style.padding.right + borderSize.right , style.padding.bottom + borderSize.bottom , style.padding.left + borderSize.left }; int x_offset=vacant.left; int y_offset=vacant.top; Size minFit = {Width(),Height()}; if(style.sizeType == fit) { clientSize = minFit; } else if(style.sizeType == shrink) { size = {0,0}; clientSize={Max(Max(minFit.w,style.size.w),size.w), Max(Max(minFit.h,style.size.h),size.h)}; } else if(style.sizeType == grow) { if(parent) { clientSize={parent.ContentWidth(),minFit.h}; } } else if(style.sizeType == fixed) { clientSize=style.size; } if(parent != null) { position={x,y}; } if(children) { for(child : children) { if(child.style.block==true) { if(x_offset > vacant.left) { y_offset += child.Height(); } x_offset += child.style.margin.left; y_offset += child.style.margin.top; child.Position(x_offset,y_offset); y_offset += child.Height() + child.style.margin.bottom; x_offset = vacant.left; } else { x_offset += child.style.margin.left; child.Position(x_offset,y_offset); x_offset += child.Width() + child.style.margin.right; } } } } int Height() { int height = ContentHeight(); WindowSpacers borderSize = style.border.LayoutSize(); height += style.padding.top + style.padding.bottom; height += borderSize.top + borderSize.bottom; return height; } int Width() { int width = ContentWidth(); WindowSpacers borderSize = style.border.LayoutSize(); width += style.padding.left + style.padding.right; width += borderSize.right + borderSize.left; return width; } int DisplayHeight() { return Height() + style.margin.top + style.margin.bottom; } int DisplayWidth() { return Width() + style.margin.left + style.margin.right; } Size MinContentSize() { Size oldSize = clientSize; Size newSize; size = {0,0}; newSize = size; clientSize = oldSize; return newSize; } int ContentHeight() { Size minSize = MinContentSize(); int myHeight = 0; int currentHeight = 0; if(children) { for(child : children) { if(child.style.block==false) { int childHeight = child.DisplayHeight(); if(childHeight > currentHeight) { currentHeight = childHeight; } } else { myHeight += currentHeight; currentHeight = 0; myHeight += child.DisplayHeight(); } } } myHeight += currentHeight; minSize.h = Max(minSize.h, style.size.h); if(minSize.h > myHeight && parent != null) { myHeight = minSize.h; } return myHeight; } int ContentWidth() { Size minSize = MinContentSize(); int myWidth=0; int currentWidth=0; if(children) { for(child : children) { if(child.style.block==false) { currentWidth += child.DisplayWidth(); } else { if(currentWidth > myWidth) { myWidth = currentWidth; } if(child.DisplayWidth() > myWidth) { myWidth = child.DisplayWidth(); } currentWidth = 0; } } } if(currentWidth > myWidth) { myWidth = currentWidth; } minSize.w = Max(minSize.w, style.size.w); if(minSize.w > myWidth && parent != null) { myWidth = minSize.w; } return myWidth; } bool OnMouseOver(int x, int y, Modifiers mods) { if(styleOver) { styleOver.show = true; CascadeStyles(); } return true; } bool OnMouseLeave(Modifiers mods) { if(styleOver) { styleOver.show = false; CascadeStyles(); } return true; } bool OnActivate(bool active, Window previous, bool * goOnWithActivation, bool direct) { if(styleActive) { if(active) { styleActive.show = true; } else { styleActive.show = false; } CascadeStyles(); } return true; } virtual Container<Style> AllStyles() { return Array<Style>{[styleDefault, styleActive, styleOver]}; } void CascadeStyles() { for(overlay : AllStyles()) { if(overlay && overlay.show) { style.Overlay(overlay); } } Update(null); } void DrawBackground(Surface surface) { if(style.background) { if(style.background.color) { surface.background = style.background.color; surface.Clear(colorBuffer); } if(style.background.images) { for(image : style.background.images) { image.Draw(surface,0,0,clientSize.w-1,clientSize.h-1); } } } } void DrawBorders(Surface surface) { ColorFillImage colorImage {}; Size s = clientSize; if(style.border) { if(style.border.top) { if(style.border.top.color) { colorImage.color = style.border.top.color; colorImage.Draw(surface, 0,0,clientSize.w-1,style.border.top.thickness-1); } for(image : style.border.top.images) { image.Draw(surface, 0,0,clientSize.w-1,style.border.top.thickness-1); } } if(style.border.right) { int borderLeftEdge = clientSize.w-style.border.right.thickness; if(style.border.right.color) { colorImage.color = style.border.right.color; colorImage.Draw(surface, borderLeftEdge,0,clientSize.w-1,clientSize.h-1); } for(image : style.border.right.images) { image.Draw(surface, borderLeftEdge,0,clientSize.w-1,clientSize.h-1); } } if(style.border.bottom) { int borderTopEdge = clientSize.h-style.border.bottom.thickness; if(style.border.bottom.color) { colorImage.color = style.border.bottom.color; colorImage.Draw(surface, 0,borderTopEdge,clientSize.w-1,clientSize.h-1); } for(image : style.border.bottom.images) { image.Draw(surface, 0,borderTopEdge,clientSize.w-1,clientSize.h-1); } } if(style.border.left) { if(style.border.left.color) { colorImage.color = style.border.left.color; colorImage.Draw(surface, 0,0,style.border.left.thickness-1,clientSize.h-1); } for(image : style.border.left.images) { image.Draw(surface, 0,0,style.border.left.thickness-1,clientSize.h-1); } } } } void OnRedraw(Surface surface) { DrawBackground(surface); DrawBorders(surface); } }
eC
4
N-eil/ecere-sdk
autoLayout/ryanStyles/Layout.ec
[ "BSD-3-Clause" ]
//===--- ErrorObjectNative.cpp - Recoverable error object -----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // //===----------------------------------------------------------------------===// // // This implements the object representation of the standard Error // protocol type, which represents recoverable errors in the language. This // implementation is used when ObjC interop is disabled; the ObjC-interoperable // version is implemented in ErrorObject.mm. // //===----------------------------------------------------------------------===// #include "swift/Runtime/Config.h" #if !SWIFT_OBJC_INTEROP #include <stdio.h> #include "swift/Runtime/Debug.h" #include "ErrorObject.h" #include "Private.h" using namespace swift; /// Determine the size and alignment of an Error box containing the given /// type. static std::pair<size_t, size_t> _getErrorAllocatedSizeAndAlignmentMask(const Metadata *type) { // The value is tail-allocated after the SwiftError record with the // appropriate alignment. auto vw = type->getValueWitnesses(); size_t size = sizeof(SwiftError); unsigned valueAlignMask = vw->getAlignmentMask(); size = (size + valueAlignMask) & ~(size_t)valueAlignMask; size += vw->getSize(); size_t alignMask = (alignof(SwiftError) - 1) | valueAlignMask; return {size, alignMask}; } /// Destructor for an Error box. static SWIFT_CC(swift) void _destroyErrorObject(SWIFT_CONTEXT HeapObject *obj) { auto error = static_cast<SwiftError *>(obj); // Destroy the value inside. auto type = error->type; type->vw_destroy(error->getValue()); // Deallocate the buffer. auto sizeAndAlign = _getErrorAllocatedSizeAndAlignmentMask(type); swift_deallocObject(obj, sizeAndAlign.first, sizeAndAlign.second); } /// Heap metadata for Error boxes. static const FullMetadata<HeapMetadata> ErrorMetadata{ HeapMetadataHeader{{_destroyErrorObject}, {&VALUE_WITNESS_SYM(Bo)}}, HeapMetadata(MetadataKind::ErrorObject), }; BoxPair swift::swift_allocError(const swift::Metadata *type, const swift::WitnessTable *errorConformance, OpaqueValue *initialValue, bool isTake) { auto sizeAndAlign = _getErrorAllocatedSizeAndAlignmentMask(type); auto allocated = swift_allocObject(&ErrorMetadata, sizeAndAlign.first, sizeAndAlign.second); auto error = reinterpret_cast<SwiftError*>(allocated); error->type = type; error->errorConformance = errorConformance; // If an initial value was given, copy or take it in. auto valuePtr = error->getValue(); if (initialValue) { if (isTake) type->vw_initializeWithTake(valuePtr, initialValue); else type->vw_initializeWithCopy(valuePtr, initialValue); } return BoxPair{allocated, valuePtr}; } void swift::swift_deallocError(SwiftError *error, const Metadata *type) { auto sizeAndAlign = _getErrorAllocatedSizeAndAlignmentMask(type); swift_deallocUninitializedObject(error, sizeAndAlign.first, sizeAndAlign.second); } void swift::swift_getErrorValue(const SwiftError *errorObject, void **scratch, ErrorValueResult *out) { out->value = errorObject->getValue(); out->type = errorObject->type; out->errorConformance = errorObject->errorConformance; } SwiftError *swift::swift_errorRetain(SwiftError *error) { return static_cast<SwiftError*>(swift_retain(error)); } void swift::swift_errorRelease(SwiftError *error) { swift_release(error); } #endif
C++
4
gandhi56/swift
stdlib/public/runtime/ErrorObjectNative.cpp
[ "Apache-2.0" ]
<?Lassoscript // Last modified 6/9/09 by ECL, Landmann InterActive /* Tagdocs; {Tagname= LI_CMSatend } {Description= at-end handler for itPage } {Author= Eric Landmann } {AuthorEmail= [email protected] } {ModifiedBy= } {ModifiedByEmail= } {Date= 12/23/07 } {Usage= } {ExpectedResults= Modifies the HTML of the page: 1 - If a login page, adds JS at the end of the page to activate the login form 2 - If a media file is assigned to the page, adds JS to the head if a Flash Video file is called } {Dependencies= Video variables: $ThisMediaFile = name of media file (located in /media) $VideoWidth = Video width $VideoHeight = Video height FlowPlayerLight.swf must be in the $svLibsPath The Flash Embed javascript is called from /site/js/flashembed.min.js A special media stylesheet is called at /site/css/media.css } {DevelNotes= Original idea for this came from "An introduction to using JQuery with Lasso <http://www.lassosoft.com/Documentation/TotW/index.lasso?9302> } {ChangeNotes= 12/23/08 First implementation of Video install code 1/14/09 Adding lookup for $DropdownJS to add content to <head> 6/6/09 Added a content_body->trim, Issue #876 6/9/09 Replaced $__html_reply__ with Content_Body } /Tagdocs; */ Define_Tag: 'LI_CMSatend', -priority='Replace'; local:'PageEnd_regexp' = (regexp: -find='(\\s+)</body>', -input=(Content_Body), -ignorecase); if: #PageEnd_regexp->find == true; local: 'prefix' = #PageEnd_regexp->(matchstring: 1); local: 'lines' = array; if: (Content_Body) >> (regexp: -find='LoginForm'); #lines->(insert: '<!-- Inserted by LI_CMSatend -->'); #lines->(insert: '<script language="JavaScript" type="text/javascript">'); #lines->(insert: '\t<!-- Set focus to User_LoginID in login form -->'); #lines->(insert: '\tdocument.LoginForm.User_LoginID.focus();'); #lines->(insert: '</script>'); /if; #PageEnd_regexp->(replacepattern: #prefix + #lines->(join: #prefix) + #prefix + '</body>'); (Content_Body) = #PageEnd_regexp->(replacefirst); /if; // TESTING // Var:'ThisMediaFile' = 'Shisha_9048EIceClimb_XWn.flv'; // Var:'VideoWidth' = 640; // Var:'VideoHeight' = 480; // Don't need Media stylesheet on regular content pages // But if you did, here is the code // <link rel="stylesheet" type="text/css" href="/site/css/media.css"> If: (Var:'VideoFilename') != ''; // Create the output string to install local:'InstallThisJS' = ('<!-- Inserted by LI_CMSatend --> <script type="text/javascript" src="'($svJSPath)'flashembed.min.js"></script> <script> flashembed("VideoPlaceholder", { src:\''($svLibsPath)'FlowPlayerLight.swf\', width: '(Var:'VideoWidth')', height: '(Var:'VideoHeight')' }, {config: { autoPlay: false, autoBuffering: true, controlBarBackgroundColor:\'#999999\', controlBarGloss:\'high\', showFullScreenButton: false, initialScale: \'scale\', loop: false, menuItems: [true, true, true, true, false, false, false], videoFile: \'http://'($svDomain)($svMediaPath)($VideoFilename)'\' }} ); </script>\n'); // If VideoPlaceHolder found, do the substition // VideoPlaceHolder is inserted in build_detail.inc if a media file is found local:'head_regexp' = (regexp: -find='(\\s+)</head>', -input=(Content_Body), -ignorecase); if: #head_regexp->find == true; local: 'prefix' = #head_regexp->(matchstring: 1); local: 'lines' = array; if: (Content_Body) >> (regexp: -find='VideoPlaceholder'); // (Content_Body) += ('77: FOUND IT<br>'); #lines->(insert: #InstallThisJS); Else; // (Content_Body) += ('77: MISSED!<br>'); /if; // (Content_Body) += ('79: #lines = '(#lines)); #head_regexp->(replacepattern: #prefix + #lines->(join: #prefix) + #prefix + '</head>'); (Content_Body) = #head_regexp->(replacefirst); Else; // Do nothing /If; /If; // 1/14/09 // REMOVING THIS as it DOES NOT WORK ON detail.lasso // Adding lookup for $DropdownJS to add content to <head> // $DropdownJS is created by build_dropdownVars.inc, /* If: (Var:'DropdownJS') != ''; // Create the output string to install local:'InstallThisDropdown' = $DropdownJS; // Use this code for Fireworks-style dropdowns that use mm_menu.js // #InstallThisDropdown += '<script language="JavaScript1.2" src="'($svJSPath)'mm_menu.js"></script>\n'; local:'head_regexp' = (regexp: -find='(\\s+)</head>', -input=(Content_Body), -ignorecase); if: #head_regexp->find == true; local: 'prefix' = #head_regexp->(matchstring: 1); local: 'lines' = array; #lines->(insert: #InstallThisDropdown); #head_regexp->(replacepattern: #prefix + #lines->(join: #prefix) + #prefix + '</head>'); (Content_Body) = #head_regexp->(replacefirst); Else; // Do nothing /If; /If; */ // ALWAYS trim excess whitespace Content_Body->trim; /Define_Tag; Log_Critical: 'Custom Tag Loaded - LI_CMSatend'; ?>
Lasso
4
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/LI_CMSatend.lasso
[ "MIT" ]
#+TITLE: org-ruby #+AUTHOR: Brian Dewey #+EMAIL: [email protected] #+DATE: 2009-12-21 #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:nil pri:nil tags:not-in-toc #+EXPORT_EXCLUDE_TAGS: exclude #+STARTUP: showall | Status: | Under Development | | Location: | [[http://github.com/wallyqs/org-ruby]] | | Version: | 0.9.0 | * Description Helpful Ruby routines for parsing orgmode files. The most significant thing this library does today is convert orgmode files to textile. Currently, you cannot do much to customize the conversion. The supplied textile conversion is optimized for extracting "content" from the orgfile as opposed to "metadata." * History ** 2014-02-08: Version 0.9.0 - Let's make sure =#+INCLUDE:= is not supported #+INCLUDE: "./README.txt" src text - And confirm that syntax highlight is supported #+begin_src ruby module GitHub module Markup VERSION = 'test' Version = VERSION end end #+end_src ** 2009-12-30: Version 0.5.1 - Minor enhancement: Recognize lines starting with ":" as examples. - Minor enhancement: Recognize #+BEGIN_SRC as source blocks - Minor enhancement: Add "src" and "example" classes to <pre> blocks. ** 2009-12-30: Version 0.5.0 - Parse (but not necessarily *use*) in-buffer settings. The following in-buffer settings *are* used: - Understand the #+TITLE: directive. - Exporting todo keywords (option todo:t) - Numbering headlines (option num:t) - Skipping text before the first headline (option skip:t) - Skipping tables (option |:nil) - Custom todo keywords - EXPORT_SELECT_TAGS and EXPORT_EXLUDE_TAGS for controlling parts of the tree to export - Rewrite "file:(blah).org" links to "http:(blah).html" links. This makes the inter-links to other org-mode files work. - Uses <th> tags inside table rows that precede table separators. - Bugfixes: - Headings now have HTML escaped. ** 2009-12-29: Version 0.4.2 - Got rid of the extraneous newline at the start of code blocks. - Everything now shows up in code blocks, even org-mode metadata. - Fixed bugs: - Regressed smart double quotes with HTML escaping. Added a test case and fixed the regression. ** 2009-12-29: Version 0.4.1 - HTML is now escaped by default - org-mode comments will show up in a code block. ** 2009-12-29: Version 0.4 - The first thing output in HTML gets the class "title" - HTML output is now indented - Proper support for multi-paragraph list items. See? This paragraph is part of the last bullet. - Fixed bugs: - "rake spec" wouldn't work on Linux. Needed "require 'rubygems'". ** 2009-12-27: Version 0.3 - Uses rubypants to get better typography (smart quotes, ellipses, etc...). - Fixed bugs: - Tables and lists did not get properly closed at the end of file - You couldn't do inline formatting inside table cells - Characters in PRE blocks were not HTML escaped. ** 2009-12-26: Version 0.2 - Added =to_html= output on the parser. - Added support for the full range of inline markup: *bold*, /italic/, =code=, ~verbatim~, _underline_, +strikethrough+. - Lots of refactoring to make the code more maintainable. ** 2009-12-23: Version 0.1 - Added support for block code, like this: #+BEGIN_EXAMPLE def flush! @logger.debug "FLUSH ==========> #{@output_type}" if (@output_type == :blank) then @output << "\n" elsif (@buffer.length > 0) then if @cancel_modifier then @output << "p. " if @output_type == :paragraph @cancel_modifier = false end @output << @paragraph_modifier if (@paragraph_modifier and not sticky_modifier?) @output << @buffer.textile_substitution << "\n" end @buffer = "" end #+END_EXAMPLE - Major code cleanup: Created the =OutputBuffer= class that greatly simplified a lot of the messiness of =textile= conversion. - Added support for line breaks within list items.
Org
4
borisgu/markup
test/markups/README.org
[ "MIT" ]
scriptname CampPerkNodeControllerBehavior extends CampPerkNodeController import CampUtil message property required_skill_description auto { Fill with the skill overview description message. } GlobalVariable property required_perk_points_available auto { Fill with the "points available" skill global variable. Should contain an integer. } GlobalVariable property required_perk_point_progress auto { Fill with the "skill progress" global variable. Should contain a float, 0.0 (0%) to 1.0 (100%). } GlobalVariable property CampfireIsPerkEligibleToBuy auto hidden { Filled at runtime. } message property _Camp_PerkGeneral_UpgradeVerify auto hidden { Filled at runtime. } function Initialize() parent.Initialize() endFunction function AssignCampfire(ObjectReference akCampfire) myCampfire = akCampfire endFunction function NodeActivated(ObjectReference akNodeRef) bool eligible_for_increase = false CampPerkNode node = akNodeRef as CampPerkNode CampPerkNode dsnode1 = None CampPerkNode dsnode2 = None if node.downstream_node_1 dsnode1 = node.downstream_node_1_ref as CampPerkNode endif if node.downstream_node_2 dsnode2 = node.downstream_node_2_ref as CampPerkNode endif bool is_starting_node = false if !dsnode1 && !dsnode2 is_starting_node = true endif bool downstream_node_purchased = false if (dsnode1 && dsnode1.required_perk_rank_global.GetValueInt() >= 1) || \ (dsnode2 && dsnode2.required_perk_rank_global.GetValueInt() >= 1) downstream_node_purchased = true endif bool below_max_rank = false if node.required_perk_rank_global.GetValueInt() < node.required_perk_rank_global_max.GetValueInt() below_max_rank = true endif bool points_available = false if required_perk_points_available.GetValueInt() > 0 points_available = true endif if (is_starting_node || downstream_node_purchased) && below_max_rank && points_available eligible_for_increase = true endif if eligible_for_increase ShowPerkDescription(node, true) else ShowPerkDescription(node) endif endFunction function ExitNodeActivated() TakeDown() endFunction function ShowPerkDescription(CampPerkNode akPerkNode, bool abEligibleForIncrease = false) if !CampfireIsPerkEligibleToBuy CampfireIsPerkEligibleToBuy = Game.GetFormFromFile(0x01CC0D02, "Update.esm") as GlobalVariable endif if !_Camp_PerkGeneral_UpgradeVerify _Camp_PerkGeneral_UpgradeVerify = Game.GetFormFromFile(0x043826, "Campfire.esm") as Message endif if abEligibleForIncrease CampfireIsPerkEligibleToBuy.SetValueInt(1) else CampfireIsPerkEligibleToBuy.SetValueInt(0) endif int desc_val if akPerkNode.required_perk_rank_global.GetValueInt() < akPerkNode.required_perk_rank_global_max.GetValueInt() desc_val = akPerkNode.required_perk_rank_global.GetValueInt() + 1 else desc_val = akPerkNode.required_perk_rank_global_max.GetValueInt() endif int i if akPerkNode.required_description_value_count == 2 i = akPerkNode.required_perk_description.Show((desc_val * akPerkNode.description_value_iterator) + akPerkNode.description_value_modifier, \ (desc_val * akPerkNode.secondary_description_value_iterator) + akPerkNode.secondary_description_value_modifier, \ akPerkNode.required_perk_rank_global.GetValueInt(), \ akPerkNode.required_perk_rank_global_max.GetValueInt(), \ required_perk_points_available.GetValueInt(), \ (required_perk_point_progress.GetValue() * 100.0)) elseif akPerkNode.required_description_value_count == 1 i = akPerkNode.required_perk_description.Show((desc_val * akPerkNode.description_value_iterator) + akPerkNode.description_value_modifier, \ akPerkNode.required_perk_rank_global.GetValueInt(), \ akPerkNode.required_perk_rank_global_max.GetValueInt(), \ required_perk_points_available.GetValueInt(), \ (required_perk_point_progress.GetValue() * 100.0)) else i = akPerkNode.required_perk_description.Show(akPerkNode.required_perk_rank_global.GetValueInt(), \ akPerkNode.required_perk_rank_global_max.GetValueInt(), \ required_perk_points_available.GetValueInt(), \ (required_perk_point_progress.GetValue() * 100.0)) endif ; Increase Rank / Back if i == 0 int j = _Camp_PerkGeneral_UpgradeVerify.Show() ; Are you sure you want this perk? Ok / Cancel if j == 0 akPerkNode.IncreasePerkRank() required_perk_points_available.SetValueInt(required_perk_points_available.GetValueInt() - 1) SendEvent_CampfirePerkPurchased() endif elseif i == 1 akPerkNode.required_skill_description.Show(required_perk_points_available.GetValueInt(), \ (required_perk_point_progress.GetValue() * 100.0)) ShowPerkDescription(akPerkNode, abEligibleForIncrease) endif endFunction function SendEvent_CampfirePerkPurchased() FallbackEventEmitter emitter = GetEventEmitter_CampfirePerkPurchased() int handle = emitter.Create("Campfire_CampfirePerkPurchased") if handle emitter.Send(handle) endif endFunction
Papyrus
5
chesko256/Campfire
Scripts/Source/CampPerkNodeControllerBehavior.psc
[ "MIT" ]
count/dev/rrp3: /dev/rrp3: count count17379mel 17379 mel count16693bwk 16693 bwk me count16116ken 16116 ken him someone else count15713srb 15713 srb count11895lem 11895 lem count10409scj 10409 scj count10252rhm 10252 rhm count9853shen 9853 shen count9748a68 9748 a68 count9492sif 9492 sif count9190pjw 9190 pjw count8912nls 8912 nls count8895dmr 8895 dmr count8491cda 8491 cda count8372bs 8372 bs count8252llc 8252 llc count7450mb 7450 mb count7360ava 7360 ava count7273jrv 7273 jrv count7080bin 7080 bin count7063greg 7063 greg count6567dict 6567 dict count6462lck 6462 lck count6291rje 6291 rje count6211lwf 6211 lwf count5671dave 5671 dave count5373jhc 5373 jhc count5220agf 5220 agf count5167doug 5167 doug count5007valerie 5007 valerie count3963jca 3963 jca count3895bbs 3895 bbs count3796moh 3796 moh count3481xchar 3481 xchar count3200tbl 3200 tbl count2845s 2845 s count2774tgs 2774 tgs count2641met 2641 met count2566jck 2566 jck count2511port 2511 port count2479sue 2479 sue count2127root 2127 root count1989bsb 1989 bsb count1989jeg 1989 jeg count1933eag 1933 eag count1801pdj 1801 pdj count1590tpc 1590 tpc count1385cvw 1385 cvw count1370rwm 1370 rwm count1316avg 1316 avg count1205eg 1205 eg count1194jam 1194 jam count1153dl 1153 dl count1150lgm 1150 lgm count1031cmb 1031 cmb count1018jwr 1018 jwr count950gdb 950 gdb count931marc 931 marc count898usg 898 usg count865ggr 865 ggr count822daemon 822 daemon count803mihalis 803 mihalis count700honey 700 honey count624tad 624 tad count559acs 559 acs count541uucp 541 uucp count523raf 523 raf count495adh 495 adh count456kec 456 kec count414craig 414 craig count386donmac 386 donmac count375jj 375 jj count348ravi 348 ravi count344drw 344 drw count327stars 327 stars count288mrg 288 mrg count272jcb 272 jcb count263ralph 263 ralph count253tom 253 tom count251sjb 251 sjb count248haight 248 haight count224sharon 224 sharon count222chuck 222 chuck count213dsj 213 dsj count201bill 201 bill count184god 184 god count176sys 176 sys count166meh 166 meh count163jon 163 jon count144dan 144 dan count143fox 143 fox count123dale 123 dale count116kab 116 kab count95buz 95 buz count80asc 80 asc count79jas 79 jas count79trt 79 trt count64wsb 64 wsb count62dwh 62 dwh count56ktf 56 ktf count54lr 54 lr count47dlc 47 dlc count45dls 45 dls count45jwf 45 jwf count44mash 44 mash count43ars 43 ars count43vgl 43 vgl count37jfo 37 jfo count32rab 32 rab count31pd 31 pd count29jns 29 jns count25spm 25 spm count22rob 22 rob count15egb 15 egb count10hm 10 hm count10mhb 10 mhb count6aed 6 aed count6cpb 6 cpb count5evp 5 evp count4ber 4 ber count4men 4 men count4mitch 4 mitch count3ast 3 ast count3jfr 3 jfr count3lax 3 lax count3nel 3 nel count2blue 2 blue count2jfk 2 jfk count2njas 2 njas count1122sec 1 122sec count1ddwar 1 ddwar count1gopi 1 gopi count1jk 1 jk count1learn 1 learn count1low 1 low count1nac 1 nac count1sidor 1 sidor count1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sh count2roottcsh:*:0:0:Super-Userrunning 2roottcsh:*:0:0:Super-User running tcsh [cbm]:/:/bin/tcsh count3sysadm:*:0:0:SystemV 3sysadm:*:0:0:System V Administration:/usr/admin:/bin/sh count4diag:*:0:996:HardwareDiagnostics:/usr/diags:/bin/csh 4diag:*:0:996:Hardware Diagnostics:/usr/diags:/bin/csh count5daemon:*:1:1:daemons:/:/bin/sh 5daemon:*:1:1:daemons:/:/bin/sh count6bin:*:2:2:SystemTools 6bin:*:2:2:System Tools Owner:/bin:/dev/null count7nuucp:BJnuQbAo:6:10:UUCP.Admin:/usr/spool/uucppublic:/usr/lib/uucp/uucico 7nuucp:BJnuQbAo:6:10:UUCP.Admin:/usr/spool/uucppublic:/usr/lib/uucp/uucico count8uucp:*:3:5:UUCP.Admin:/usr/lib/uucp: 8uucp:*:3:5:UUCP.Admin:/usr/lib/uucp: count9sys:*:4:0:SystemActivity 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sh count10adm:*:5:3:AccountingFiles 10adm:*:5:3:Accounting Files Owner:/usr/adm:/bin/sh count11lp:*:9:9:PrintSpooler 11lp:*:9:9:Print Spooler Owner:/var/spool/lp:/bin/sh count12auditor:*:11:0:AuditActivity 12auditor:*:11:0:Audit Activity Owner:/auditor:/bin/sh count13dbadmin:*:12:0:SecurityDatabase 13dbadmin:*:12:0:Security Database Owner:/dbadmin:/bin/sh count14bootes:dcon:50:1:TomKillian 14bootes:dcon:50:1:Tom Killian (DO NOT REMOVE):/tmp: count15cdjuke:dcon:51:1:TomKillian 15cdjuke:dcon:51:1:Tom Killian (DO NOT REMOVE):/tmp: count16rfindd:*:66:1:RfindDaemon 16rfindd:*:66:1:Rfind Daemon and Fsdump:/var/rfindd:/bin/sh count17EZsetup:*:992:998:SystemSetup:/var/sysadmdesktop/EZsetup:/bin/csh 17EZsetup:*:992:998:System Setup:/var/sysadmdesktop/EZsetup:/bin/csh count18demos:*:993:997:DemonstrationUser:/usr/demos:/bin/csh 18demos:*:993:997:Demonstration User:/usr/demos:/bin/csh count19tutor:*:994:997:TutorialUser:/usr/tutor:/bin/csh 19tutor:*:994:997:Tutorial User:/usr/tutor:/bin/csh count20tour:*:995:997:IRISSpace 20tour:*:995:997:IRIS Space Tour:/usr/people/tour:/bin/csh count21guest:nfP4/Wpvio/Rw:998:998:GuestAccount:/usr/people/guest:/bin/csh 21guest:nfP4/Wpvio/Rw:998:998:Guest Account:/usr/people/guest:/bin/csh count224Dgifts:0nWRTZsOMt.:999:998:4DgiftsAccount:/usr/people/4Dgifts:/bin/csh 224Dgifts:0nWRTZsOMt.:999:998:4Dgifts Account:/usr/people/4Dgifts:/bin/csh count23nobody:*:60001:60001:SVR4nobody 23nobody:*:60001:60001:SVR4 nobody uid:/dev/null:/dev/null count24noaccess:*:60002:60002:uidno 24noaccess:*:60002:60002:uid no access:/dev/null:/dev/null count25nobody:*:-2:-2:originalnobody 25nobody:*:-2:-2:original nobody uid:/dev/null:/dev/null count26rje:*:8:8:RJEOwner:/usr/spool/rje: 26rje:*:8:8:RJE Owner:/usr/spool/rje: count27changes:*:11:11:systemchange 27changes:*:11:11:system change log:/: count28dist:sorry:9999:4:filedistributions:/v/adm/dist:/v/bin/sh 28dist:sorry:9999:4:file distributions:/v/adm/dist:/v/bin/sh count29man:*:99:995:On-lineManual 29man:*:99:995:On-line Manual Owner:/: count30phoneca:*:991:991:phonecall 30phoneca:*:991:991:phone call log [tom]:/v/adm/log:/v/bin/sh count1root 1r oot EMpNB8Zp56 0 0 Super-User,,,,,,, / /bin/sh count2roottcsh 2r oottcsh * 0 0 Super-User running tcsh [cbm] / /bin/tcsh count3sysadm 3s ysadm * 0 0 System V Administration /usr/admin /bin/sh count4diag 4d iag * 0 996 Hardware Diagnostics /usr/diags /bin/csh count5daemon 5d aemon * 1 1 daemons / /bin/sh count6bin 6b in * 2 2 System Tools Owner /bin /dev/null count7nuucp 7n uucp BJnuQbAo 6 10 UUCP.Admin /usr/spool/uucppublic /usr/lib/uucp/uucico count8uucp 8u ucp * 3 5 UUCP.Admin /usr/lib/uucp count9sys 9s ys * 4 0 System Activity Owner /usr/adm /bin/sh count10adm 10 adm * 5 3 Accounting Files Owner /usr/adm /bin/sh count11lp 11 lp * 9 9 Print Spooler Owner /var/spool/lp /bin/sh count12auditor 12 auditor * 11 0 Audit Activity Owner /auditor /bin/sh count13dbadmin 13 dbadmin * 12 0 Security Database Owner /dbadmin /bin/sh count14bootes 14 bootes dcon 50 1 Tom Killian (DO NOT REMOVE) /tmp count15cdjuke 15 cdjuke dcon 51 1 Tom Killian (DO NOT REMOVE) /tmp count16rfindd 16 rfindd * 66 1 Rfind Daemon and Fsdump /var/rfindd /bin/sh count17EZsetup 17 EZsetup * 992 998 System Setup /var/sysadmdesktop/EZsetup /bin/csh count18demos 18 demos * 993 997 Demonstration User /usr/demos /bin/csh count19tutor 19 tutor * 994 997 Tutorial User /usr/tutor /bin/csh count20tour 20 tour * 995 997 IRIS Space Tour /usr/people/tour /bin/csh count21guest 21 guest nfP4/Wpvio/Rw 998 998 Guest Account /usr/people/guest /bin/csh count224Dgifts 22 4Dgifts 0nWRTZsOMt. 999 998 4Dgifts Account /usr/people/4Dgifts /bin/csh count23nobody 23 nobody * 60001 60001 SVR4 nobody uid /dev/null /dev/null count24noaccess 24 noaccess * 60002 60002 uid no access /dev/null /dev/null count25nobody 25 nobody * -2 -2 original nobody uid /dev/null /dev/null count26rje 26 rje * 8 8 RJE Owner /usr/spool/rje count27changes 27 changes * 11 11 system change log / count28dist 28 dist sorry 9999 4 file distributions /v/adm/dist /v/bin/sh count29man 29 man * 99 995 On-line Manual Owner / count30phoneca 30 phoneca * 991 991 phone call log [tom] /v/adm/log /v/bin/sh
Logos
1
Crestwave/goawk
testdata/output/t.1.x
[ "MIT" ]
use "collections" class Circle var _radius: F32 new create(radius': F32) => _radius = radius' fun ref get_radius(): F32 => _radius fun ref get_area(): F32 => F32.pi() * _radius.pow(2) fun ref get_circumference(): F32 => 2 * _radius * F32.pi() actor Main new create(env: Env) => for i in Range[F32](1.0, 101.0) do let c = Circle(i) var str = "Radius: " + c.get_radius().string() + "\n" + "Circumference: " + c.get_circumference().string() + "\n" + "Area: " + c.get_area().string() + "\n" env.out.print(str) end
Pony
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Pony/circle.pony
[ "MIT" ]
.style { width: calc(2px/1px); }
CSS
0
kitsonk/swc
css/parser/tests/errors/rome/invalid/.calc-division/input.css
[ "Apache-2.0", "MIT" ]
# Copyright 2021 The Google Research Authors. # # 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 # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Internal Use Download Data from GCS #!/bin/bash FNAME=convai2_opedata.tar.gz gsutil cp gs://airdialogue_share/$FNAME ./ rm -rf cleaned_logs tar -xvzf $FNAME rm $FNAME rm -rf orig mv cleaned_logs orig orig=orig savedir=opedata_hard rm -rf $savedir for subdir in $orig/*/ do echo $subdir model_name=${subdir%*/} model_name=${model_name##*/} rm $subdir/${model_name}.jsonl newdir=$savedir/$model_name echo "Saving to $newdir Model name $model_name" mkdir -p $newdir cat $subdir/*.jsonl > $newdir/data.json echo "Number of lines $(wc -l $newdir/data.json)" done
Shell
3
deepneuralmachine/google-research
dialogue_ope/airdialogue_ope/data/convai2/download_convai2_opedata_hard.sh
[ "Apache-2.0" ]
\documentclass{article} \usepackage{agda} \begin{document} \begin{code} module ThreeNewLines where \end{code} \end{document}
Literate Agda
1
cruhland/agda
test/LaTeXAndHTML/succeed/ThreeNewLines.lagda
[ "MIT" ]
(ns open-api-petstore.api.store (:require [open-api-petstore.core :refer [call-api check-required-params with-collection-format *api-context*]] [clojure.spec.alpha :as s] [spec-tools.core :as st] [orchestra.core :refer [defn-spec]] [open-api-petstore.specs.tag :refer :all] [open-api-petstore.specs.category :refer :all] [open-api-petstore.specs.user :refer :all] [open-api-petstore.specs.pet :refer :all] [open-api-petstore.specs.order :refer :all] ) (:import (java.io File))) (defn-spec delete-order-with-http-info any? "Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors" [orderId string?] (check-required-params orderId) (call-api "/store/order/{orderId}" :delete {:path-params {"orderId" orderId } :header-params {} :query-params {} :form-params {} :content-types [] :accepts [] :auth-names []})) (defn-spec delete-order any? "Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors" [orderId string?] (let [res (:data (delete-order-with-http-info orderId))] (if (:decode-models *api-context*) (st/decode any? res st/string-transformer) res))) (defn-spec get-inventory-with-http-info any? "Returns pet inventories by status Returns a map of status codes to quantities" [] (call-api "/store/inventory" :get {:path-params {} :header-params {} :query-params {} :form-params {} :content-types [] :accepts ["application/json" "application/xml"] :auth-names ["api_key"]})) (defn-spec get-inventory (s/map-of string? int?) "Returns pet inventories by status Returns a map of status codes to quantities" [] (let [res (:data (get-inventory-with-http-info))] (if (:decode-models *api-context*) (st/decode (s/map-of string? int?) res st/string-transformer) res))) (defn-spec get-order-by-id-with-http-info any? "Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions" [orderId string?] (check-required-params orderId) (call-api "/store/order/{orderId}" :get {:path-params {"orderId" orderId } :header-params {} :query-params {} :form-params {} :content-types [] :accepts ["application/json" "application/xml"] :auth-names []})) (defn-spec get-order-by-id order-spec "Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions" [orderId string?] (let [res (:data (get-order-by-id-with-http-info orderId))] (if (:decode-models *api-context*) (st/decode order-spec res st/string-transformer) res))) (defn-spec place-order-with-http-info any? "Place an order for a pet" ([] (place-order-with-http-info nil)) ([{:keys [order]} (s/map-of keyword? any?)] (call-api "/store/order" :post {:path-params {} :header-params {} :query-params {} :form-params {} :body-param order :content-types [] :accepts ["application/json" "application/xml"] :auth-names []}))) (defn-spec place-order order-spec "Place an order for a pet" ([] (place-order nil)) ([optional-params any?] (let [res (:data (place-order-with-http-info optional-params))] (if (:decode-models *api-context*) (st/decode order-spec res st/string-transformer) res))))
Clojure
5
MalcolmScoffable/openapi-generator
samples/client/petstore/clojure/src/open_api_petstore/api/store.clj
[ "Apache-2.0" ]
{define test} Test block {/define}
Latte
0
timfel/netbeans
php/php.latte/test/unit/data/testfiles/parser/issue245728_16.latte
[ "Apache-2.0" ]
[ (comment) (block) (heredoc_template) (object) ] @fold
Scheme
1
hmac/nvim-treesitter
queries/hcl/folds.scm
[ "Apache-2.0" ]
//Copy a blueprint string to the clipboard and then use this to see it expanded //Lower the tech requirements - slower belts, plain inserters constant lower_tech = ([ "express-transport-belt": "transport-belt", "express-splitter": "splitter", "express-underground-belt": "underground-belt", "express-loader": "loader", "stack-inserter": "inserter", "assembling-machine-3": "assembling-machine-2", ]); void replace_entities(mapping info, mapping(string:string) changes) { foreach (info->blueprint->entities, mapping ent) { ent->name = changes[ent->name] || ent->name; if (ent->name == "assembling-machine-2" && ent->items) { //Attempt to cap the modules at 2. It's nonspecific WHICH //two modules you'll get, if there are multiple types. int available = 2; mapping items = ([]); foreach (ent->items; string module; int n) if (available) //Once we run out of available slots, just stop adding modules available -= (items[module] = min(n, available)); ent->items = items; } } } int main() { string data = Process.run(({"xclip", "-o", "-selection", "clipboard"}))->stdout; if (data[0] != '0') exit(1, "Unexpected version byte %c\n", data[0]); data = MIME.decode_base64(data[1..]); data = Gz.uncompress(data); mapping info = Standards.JSON.decode_utf8(data); write("Got data: %O\n", info); //Optionally construct a new blueprint by switching out some entities for others replace_entities(info, lower_tech); //And now we reverse the process. data = Standards.JSON.encode(info); data = Gz.compress(data, 0, 9); data = "0" + MIME.encode_base64(data, 1); //xclip will fork itself into the background, but only if we aren't controlling //its stdout. So don't use Process.run() here. Stdio.File pipe = Stdio.File(); object proc = Process.create_process(({"xclip", "-i", "-selection", "clipboard"}), (["stdin": pipe->pipe()])); pipe->write(data); pipe->close(); proc->wait(); }
Pike
5
stephenangelico/shed
factorio_decode.pike
[ "MIT" ]
@tailwind base; @tailwind components; @tailwind utilities; .btn-1-xl { @apply sm:space-x-0; @apply xl:space-x-0; @apply sm:space-x-1; @apply xl:space-x-1; @apply sm:space-y-0; @apply xl:space-y-0; @apply sm:space-y-1; @apply xl:space-y-1; } .btn-2-xl { @apply sm:space-x-0; @apply xl:space-x-0; @apply sm:space-x-1; @apply xl:space-x-1; @apply sm:space-y-0; @apply xl:space-y-0; @apply sm:space-y-1; @apply xl:space-y-1; @apply btn-1-xl; } .btn-3-xl { @apply sm:space-x-0; @apply xl:space-x-0; @apply sm:space-x-1; @apply xl:space-x-1; @apply sm:space-y-0; @apply xl:space-y-0; @apply sm:space-y-1; @apply xl:space-y-1; @apply btn-2-xl; } .btn-4-xl { @apply sm:space-x-0; @apply xl:space-x-0; @apply sm:space-x-1; @apply xl:space-x-1; @apply sm:space-y-0; @apply xl:space-y-0; @apply sm:space-y-1; @apply xl:space-y-1; @apply btn-3-xl; } .btn-5-xl { @apply sm:space-x-0; @apply xl:space-x-0; @apply sm:space-x-1; @apply xl:space-x-1; @apply sm:space-y-0; @apply xl:space-y-0; @apply sm:space-y-1; @apply xl:space-y-1; @apply btn-4-xl; }
CSS
3
Octo1996/tailwindcss-deep-dive-zh
perf/fixture.css
[ "MIT" ]
#include <ATen/SparseTensorUtils.h> #include <ATen/ATen.h> #include <ATen/SparseTensorImpl.h> #include <ATen/Parallel.h> #include <c10/util/irange.h> namespace at { namespace sparse { // NOTE [ Flatten Sparse Indices ] // This helper function flattens a sparse indices tensor (a Tensor) into a 1D // indices tensor. E.g., // input = [[2, 4, 0], // [3, 1, 10]] // full_size = [2, 12] // output = [ 2 * 12 + 3, 4 * 12 + 1, 0 * 12 + 10 ] = [27, 49, 10] // // In other words, assuming that each `indices[i, :]` is a valid index to a // tensor `t` of shape `full_size`. This returns the corresponding indices to // the flattened tensor `t.reshape( prod(full_size[:indices.size(0)]), -1 )`. // if forceClone is true, the result will forced to be a clone of self. // if force_clone is true, the result will forced to be a clone of self. Tensor flatten_indices(const Tensor& indices, IntArrayRef full_size, bool force_clone /*= false*/) { int64_t sparse_dim = indices.size(0); if (sparse_dim == 1) { if (force_clone) { return indices.squeeze(0).clone(at::MemoryFormat::Contiguous); } else { return indices.squeeze(0); } } else { std::vector<int64_t> indices_mult_cpu_vec; indices_mult_cpu_vec.reserve(sparse_dim); int64_t mult = 1; for (int64_t i = sparse_dim - 1; i >= 0; i--) { indices_mult_cpu_vec[i] = mult; mult *= full_size[i]; } auto indices_mult_cpu = at::from_blob( indices_mult_cpu_vec.data(), // NOLINTNEXTLINE(bugprone-argument-comment) /*size=*/{sparse_dim, 1}, indices.options().device(kCPU)); // NB: must be blocking because this blob may be freed after this closure, // and non_blocking copy will see garbage. auto indices_mult = indices_mult_cpu.to(indices.device(), /*non_blocking=*/false); // Ideally we want matmul but matmul is slow on CPU Long and not implemented // on CUDA Long. So mul is faster. return indices.mul(indices_mult).sum(0); } } // Flatten sparse tensor's indices from nD to 1D, similar to NOTE [ Flatten Sparse Indices ], // except this one allows partial flatten: only flatten on specified dims. Note that // the flatten indices might be uncoalesced if dims_to_flatten.size() < sparse_dim. // Also if input indices is already coalesced, the flattened indices will also be sorted. // // args: // indices: sparse tensor indices // sizes: sparse tensor sizes // dims_to_flatten: a list of dim index to flatten // // Ex1: // indices = [[2, 4, 0], // [3, 1, 3]] // sizes = [2, 12] // dims_to_flatten = [0, 1] // new_indices = [ 2 * 12 + 3, 4 * 12 + 1, 0 * 12 + 3 ] = [27, 49, 3] // // Ex2: // dims_to_flatten = [1] // new_indices = [ 3, 1, 3 ] # uncoalesced Tensor flatten_indices_by_dims(const Tensor& indices, const IntArrayRef& sizes, const IntArrayRef& dims_to_flatten){ Tensor new_indices = at::zeros({indices.size(1)}, indices.options()); for (auto d : dims_to_flatten) { new_indices.mul_(sizes[d]); new_indices.add_(indices.select(0, d)); } return new_indices; } Tensor coo_to_csr(const int64_t* indices, int64_t dim, int64_t nnz) { /* Find the CSR representation for a row `indices` from the COO format Inputs: `indices` is the row pointer from COO indices `dim` is the row dimensionality `nnz` is the number of non-zeros Output: `csr` is a compressed row array in a CSR format */ Tensor csr = at::zeros({dim + 1}, kLong); // TODO: eliminate this conditional when zero-size dims supported correctly if (nnz > 0) { auto csr_accessor = csr.accessor<int64_t, 1>(); // Convert the sparse matrix to CSR format at::parallel_for(0, nnz, 10000, [&](int64_t start, int64_t end) { // NOLINTNEXTLINE(cppcoreguidelines-init-variables) int64_t h, hp0, hp1; for (const auto i : c10::irange(start, end)) { hp0 = indices[i]; hp1 = (i+1 == nnz) ? dim : indices[i+1]; if (hp0 != hp1) { for (h = hp0; h < hp1; h++) { csr_accessor[h+1] = i+1; } } } }); } return csr; } }} // namespace at::sparse
C++
4
xiaohanhuang/pytorch
aten/src/ATen/SparseTensorUtils.cpp
[ "Intel" ]
#ifndef NVIM_EX_EVAL_H #define NVIM_EX_EVAL_H #include "nvim/ex_cmds_defs.h" // for exarg_T #include "nvim/pos.h" // for linenr_T /* There is no CSF_IF, the lack of CSF_WHILE, CSF_FOR and CSF_TRY means ":if" * was used. */ #define CSF_TRUE 0x0001 // condition was TRUE #define CSF_ACTIVE 0x0002 // current state is active #define CSF_ELSE 0x0004 // ":else" has been passed #define CSF_WHILE 0x0008 // is a ":while" #define CSF_FOR 0x0010 // is a ":for" #define CSF_TRY 0x0100 // is a ":try" #define CSF_FINALLY 0x0200 // ":finally" has been passed #define CSF_THROWN 0x0400 // exception thrown to this try conditional #define CSF_CAUGHT 0x0800 // exception caught by this try conditional #define CSF_SILENT 0x1000 // "emsg_silent" reset by ":try" /* Note that CSF_ELSE is only used when CSF_TRY and CSF_WHILE are unset * (an ":if"), and CSF_SILENT is only used when CSF_TRY is set. */ /* * What's pending for being reactivated at the ":endtry" of this try * conditional: */ #define CSTP_NONE 0 // nothing pending in ":finally" clause #define CSTP_ERROR 1 // an error is pending #define CSTP_INTERRUPT 2 // an interrupt is pending #define CSTP_THROW 4 // a throw is pending #define CSTP_BREAK 8 // ":break" is pending #define CSTP_CONTINUE 16 // ":continue" is pending #define CSTP_RETURN 24 // ":return" is pending #define CSTP_FINISH 32 // ":finish" is pending /* * A list of error messages that can be converted to an exception. "throw_msg" * is only set in the first element of the list. Usually, it points to the * original message stored in that element, but sometimes it points to a later * message in the list. See cause_errthrow() below. */ struct msglist { char_u *msg; // original message char_u *throw_msg; // msg to throw: usually original one struct msglist *next; // next of several messages in a row }; // The exception types. typedef enum { ET_USER, // exception caused by ":throw" command ET_ERROR, // error exception ET_INTERRUPT, // interrupt exception triggered by Ctrl-C } except_type_T; /* * Structure describing an exception. * (don't use "struct exception", it's used by the math library). */ typedef struct vim_exception except_T; struct vim_exception { except_type_T type; // exception type char_u *value; // exception value struct msglist *messages; // message(s) causing error exception char_u *throw_name; // name of the throw point linenr_T throw_lnum; // line number of the throw point except_T *caught; // next exception on the caught stack }; /* * Structure to save the error/interrupt/exception state between calls to * enter_cleanup() and leave_cleanup(). Must be allocated as an automatic * variable by the (common) caller of these functions. */ typedef struct cleanup_stuff cleanup_T; struct cleanup_stuff { int pending; // error/interrupt/exception state except_T *exception; // exception value }; #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ex_eval.h.generated.h" #endif #endif // NVIM_EX_EVAL_H
C
4
Anupam-Ashish-Minz/neovim
src/nvim/ex_eval.h
[ "Vim" ]
// Copyright (c) 2018 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/browser/ui/cocoa/root_view_mac.h" #include "shell/browser/native_window.h" namespace electron { RootViewMac::RootViewMac(NativeWindow* window) : window_(window) { set_owned_by_client(); } RootViewMac::~RootViewMac() = default; void RootViewMac::Layout() { if (!window_->content_view()) // Not ready yet. return; window_->content_view()->SetBoundsRect(gfx::Rect(gfx::Point(), size())); } gfx::Size RootViewMac::GetMinimumSize() const { return window_->GetMinimumSize(); } gfx::Size RootViewMac::GetMaximumSize() const { return window_->GetMaximumSize(); } } // namespace electron
Objective-C++
3
TarunavBA/electron
shell/browser/ui/cocoa/root_view_mac.mm
[ "MIT" ]
example : String example = ?example
Idris
0
Qqwy/Idris2-Erlang
idris2/tests/idris2/error010/Loop.idr
[ "BSD-3-Clause" ]
use<../splitflap.scad>; use<../pcb.scad>; use<../28byj-48.scad>; include<../m4_dimensions.scad>; $fn = 30; eps = 0.01; export = true; module dim(enabled=true) { if (enabled) { %color([0,0,0, .2]) { children(); } } else { children(); } } // holes for 28byj-48 motor, centered around motor shaft module motor_mount_holes() { translate([-28byj48_mount_center_offset(), -28byj48_shaft_offset()]) { circle(r=motor_mount_hole_radius, $fn=30); } translate([28byj48_mount_center_offset(), -28byj48_shaft_offset()]) { circle(r=motor_mount_hole_radius, $fn=30); } } module sector(radius, angles, fn = 24) { r = radius / cos(180 / fn); step = -360 / fn; points = concat([[0, 0]], [for(a = [angles[0] : step : angles[1] - 360]) [r * cos(a), r * sin(a)] ], [[r * cos(angles[1]), r * sin(angles[1])]] ); difference() { circle(radius, $fn = fn); polygon(points); } } module pcb_xy_placement() { translate([0, get_magnet_hole_offset()]) { // Translate so the sensor is at the origin translate([-pcb_hole_to_sensor_x(), pcb_hole_to_sensor_y()]) { rotate([180,0,0]) { children(); } } } } inner_radius = 28byj48_chassis_radius() + 1; outer_radius = 28byj48_mount_center_offset() + 5; fillet = 5; module motor_mount_positive() { translate([0, -28byj48_shaft_offset()]) { hull() { sector(outer_radius, [0, 180]); translate([-outer_radius+fillet, 0]) { circle(r=fillet); } translate([outer_radius-fillet, 0]) { circle(r=fillet); } } } } module motor_mount_negative() { translate([0, -28byj48_shaft_offset()]) { hull() { translate([28byj48_mount_center_offset(), 0]) { circle(d=m4_hole_diameter); } translate([-28byj48_mount_center_offset(), 0]) { circle(d=m4_hole_diameter); } } sector(inner_radius, [0, 180]); translate([-inner_radius, -fillet - eps]) square([2*inner_radius, fillet + eps]); } } module motor_test_jig() { linear_extrude(height=get_thickness()) { difference() { union() { motor_mount_positive(); pcb_xy_placement() { offset(r=2) { hull() { pcb_outline_2d(false); translate([0, 5]) { pcb_outline_2d(false); } } } } } motor_mount_negative(); pcb_xy_placement() { // Expand small cutouts for 3d printing offset(r=0.3) { pcb_cutouts(adjustment_range=0); } } } } } module magnet_arm() { linear_extrude(height=get_thickness()) { difference() { hull() { circle(r=5); translate([0, get_magnet_hole_offset()]) { circle(r=3); } } offset(r=0.2) { motor_shaft(); } translate([0, get_magnet_hole_offset()]) { circle(d=get_magnet_diameter() + 0.2); } translate([-.4, get_magnet_hole_offset()]) { square([0.8, 10]); } } } } if (export) { motor_test_jig(); translate([30, 0]) { magnet_arm(); } } else { dim() { translate([0, 0, 28byj48_mount_bracket_height()]) { Stepper28BYJ48(); } translate([0, 0, -get_thickness()]) { pcb_xy_placement() { pcb(get_pcb_to_spool()); } } } translate([0, 0, -get_thickness()]) { motor_test_jig(); } translate([0, 0, 6]) { magnet_arm(); } }
OpenSCAD
5
tomihbk/splitflap
3d/tools/motor_test_jig.scad
[ "Apache-2.0" ]
// RUN: cat %s | sed -f %S/Inputs/nbsp.sed > %t.tmp // RUN: cp -f %t.tmp %t // RUN: %swift-syntax-test -input-source-filename %t -dump-full-tokens 2>&1 | %FileCheck %t let a =Z3Z // nbsp(Z) let bZ= 3Z let cZ=Z3 // CHECK: 4:8: warning: non-breaking space (U+00A0) used instead of regular space // CHECK: 4:11: warning: non-breaking space (U+00A0) used instead of regular space // CHECK: 5:6: warning: non-breaking space (U+00A0) used instead of regular space // CHECK: 5:11: warning: non-breaking space (U+00A0) used instead of regular space // CHECK: 6:6: warning: non-breaking space (U+00A0) used instead of regular space // CHECK: 6:9: warning: non-breaking space (U+00A0) used instead of regular space // CHECK-LABEL: 4:7 // CHECK-NEXT:(Token equal // CHECK-NEXT: (text="=") // CHECK-NEXT: (trivia garbageText \302\240)) // CHECK-LABEL: 4:10 // CHECK-NEXT:(Token integer_literal // CHECK-NEXT: (text="3") // CHECK-NEXT: (trivia garbageText \302\240) // CHECK-NEXT: (trivia space 1)) // CHECK-LABEL: 5:5 // CHECK-NEXT:(Token identifier // CHECK-NEXT: (text="b") // CHECK-NEXT: (trivia garbageText \302\240)) // CHECK-LABEL: 5:10 // CHECK-NEXT:(Token integer_literal // CHECK-NEXT: (text="3") // CHECK-NEXT: (trivia garbageText \302\240) // CHECK-LABEL: 6:5 // CHECK-NEXT:(Token identifier // CHECK-NEXT: (text="c") // CHECK-NEXT: (trivia garbageText \302\240)) // CHECK-LABEL: 6:8 // CHECK-NEXT:(Token equal // CHECK-NEXT: (text="=") // CHECK-NEXT: (trivia garbageText \302\240))
Swift
4
lwhsu/swift
test/Syntax/tokens_nonbreaking_space.swift
[ "Apache-2.0" ]
-- Copyright 2018 Stanford University -- -- 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 -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. import "regent" local c = regentlib.c -- A standard Monte Carlo simulation to estimate the area of a circle of radius 1. -- -- Picture a circle of radius 1 inscribed inside a square. Now throw N darts at the square, hitting -- random locations (all darts hit somewhere in the square). If T of the darts land inside the circle, -- then the circle's fraction of the square's area is about T/N. Since the area of the square is 4 -- (a circle of radius 1 incribes inside a 2x2 square), (T/N) * 4 is our estimate of the area of the circle. -- -- The simulation carries out this simulation on 1/4 of the square. Imagine both the square and the -- circle have their center at the origin of the (x,y) plane. Now choose a random x in the range 0..1 and -- a random y in the range 0..1. If x^2 + y^2 <= 1, then this "dart" lands inside the upper right quadrant -- of the circle, otherwise it lands somewhere outside the circle in the upper right quadrant of the square. -- -- -- TODO Modify the code to make 2500 trials at a time in each of 4 parallel tasks. -- task hit() var x : double = c.drand48() var y : double = c.drand48() if (x * x) + (y * y) <= 1.0 then return 1 else return 0 end end task main() var hits : int64 = 0 var iterations : int64 = 10000 for i = 0, iterations do hits += hit() end c.printf("The area of a unit circle is approximately: %5.4lf\n", (hits / [double](iterations)) * 4.0) end regentlib.start(main)
Rouge
5
elliottslaughter/regent-tutorial
Pi/x1.rg
[ "Apache-2.0" ]
module audiostreamerscrobbler.players.heos.HeosMasterMonitor import audiostreamerscrobbler.utils.ThreadUtils import java.util.concurrent.atomic.{AtomicBoolean, AtomicReference} import java.util.concurrent.ConcurrentHashMap let DEBUG = false let IDLE_PLAYER_INTERVAL = 60 # HEOS commands let CMD_GET_PLAYER_STATE = "player/get_play_state" let CMD_GET_PLAYING_NOW = "player/get_now_playing_media" # HEOS incoming events let CMD_EVENT_STATE_CHANGED = "event/player_state_changed" let CMD_EVENT_NOW_PLAYING_CHANGED = "event/player_now_playing_changed" let CMD_EVENT_NOW_PLAYING_PROGRESS = "event/player_now_playing_progress" function createHeosMasterMonitor = |heosConnection| { let heosConnectionReference = AtomicReference(heosConnection) let isRunning = AtomicBoolean(false) let slaves = AtomicReference(ConcurrentHashMap()) let masterMonitor = DynamicObject("HeosMasterMonitor"): define("_heosConnection", |this| -> heosConnectionReference): define("_isRunning", isRunning): define("_aliveThread", null): define("_slaves", slaves): define("start", |this| -> startMasterMonitor(this)): define("stop", |this| -> stopMasterMonitor(this)): define("addSlave", |this, slave| -> addSlaveMonitor(this, slave)): define("removeSlave", |this, slave| -> removeSlaveMonitor(this, slave)) let heosCb = _createHeosCallback(masterMonitor) masterMonitor: define("_heosCb", |this| -> heosCb) return masterMonitor } local function startMasterMonitor = |masterMonitor| { let isRunning = masterMonitor: _isRunning() isRunning: set(true) let heosConnection = masterMonitor: _heosConnection(): get() heosConnection: addCallback(masterMonitor: _heosCb()) let aliveThread = _createAndRunIdlePlayerHandlerThread(masterMonitor) masterMonitor: _aliveThread(aliveThread) } local function stopMasterMonitor = |masterMonitor| { let isRunning = masterMonitor: _isRunning() isRunning: set(false) let heosConnection = masterMonitor: _heosConnection(): get() heosConnection: removeCallback(masterMonitor: _heosCb()) masterMonitor: _slaves(): get(): clear() } local function addSlaveMonitor = |masterMonitor, slave| { let slaves = masterMonitor: _slaves(): get() slaves: put(slave: pid(), slave) slave: send(CMD_GET_PLAYER_STATE) slave: send(CMD_GET_PLAYING_NOW) } local function removeSlaveMonitor = |masterMonitor, slave| { let slaves = masterMonitor: _slaves(): get() slaves: remove(slave: pid()) } local function _createAndRunIdlePlayerHandlerThread = |masterMonitor| { return runInNewThread("HeosIdlePlayerHandlerThread", { if (DEBUG) { println("Starting HeosIdlePlayerHandlerThread...") } let heosConnection = masterMonitor: _heosConnection(): get() let isRunning = masterMonitor: _isRunning() while (isRunning: get()) { if(heosConnection: isConnected()) { foreach (slave in masterMonitor: _slaves(): get(): values()) { if(not slave: isPlaying()) { slave: send(CMD_GET_PLAYER_STATE) } } } Thread.sleep(IDLE_PLAYER_INTERVAL * 1000_L) } if (DEBUG) { println("Stopping HeosIdlePlayerHandlerThread...") } }) } local function _createHeosCallback = |masterMonitor| { let heosCb = |response| { if (DEBUG) { println("MASTER MONITOR CALLBACK: " + response) } let heos = response: get("heos") if (heos == null) { println("HeosMasterMonitor received unknown response from HEOS: " + response) return } let cmd = heos: get("command") if (heos: get("message") is null or heos: get("message"): isEmpty()) { if (DEBUG) { println("HeosMasterMonitor received non-player message") } return } let values = _getValues(heos: get("message")) let slaves = masterMonitor: _slaves(): get() if (values is null or values: get("pid") is null or not slaves: containsKey(values: get("pid"))) { if (DEBUG) { println("HeosMasterMonitor received message for unknown player") } return } let slave = slaves: get(values: get("pid")) case { when (cmd == CMD_EVENT_NOW_PLAYING_CHANGED) { slave: send(CMD_GET_PLAYING_NOW) } when (cmd == CMD_EVENT_STATE_CHANGED or cmd == CMD_GET_PLAYER_STATE) { slave: playerStateChange(values) } when (cmd == CMD_EVENT_NOW_PLAYING_PROGRESS) { slave: nowPlayingProgress(values) } when (cmd == CMD_GET_PLAYING_NOW) { let payload = response: get("payload") slave: getPlayingNow(payload) } otherwise { } } } return heosCb } local function _getValues = |msg| { let keyValuePairs = msg: split("&") let values = map[] foreach (keyValuePair in keyValuePairs) { let keyValue = keyValuePair: split("=", 2) values: put(keyValue: get(0), keyValue: get(1): toString()) } return values }
Golo
4
vvdleun/audiostreamerscrobbler
src/main/golo/include/players/heos/HeosMasterMonitor.golo
[ "MIT" ]
<div class="modal" id="installplugin" tabindex="-1" role="dialog" aria-labelledby="installplugin" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title"> <g:message code="gui.admin.InstallPlugin" /> </h4> </div> <div class="modal-body"> <g:uploadForm controller="plugin" action="uploadPlugin" id="uploadPlugin" useToken="true" class="form-horizontal" role="form"> <div class="form-group"> <div class="col-sm-4"> <label for="pluginFile" class="input-sm"> <g:message code="plugin.form.pluginFile.label" /> </label> </div> <div class="col-sm-8"> <input type="submit" value="Upload" class="pull-right"/><input type="file" name="pluginFile" id="pluginFile"> </div> </div> </g:uploadForm> <div class="row row-space-bottom"> <label for="pluginFile" class="col-sm-offset-1 input-sm"><g:message code="or"/></label> </div> <g:form controller="plugin" action="installPlugin" id="installPlugin" useToken="true" class="form-horizontal" role="form"> <div class="form-group"> <div class="col-sm-4"> <label for="pluginUrl" class="input-sm"> <g:message code="plugin.form.pluginUrl.label" /> </label> </div> <div class="col-sm-8"> <input type="submit" value="Install" class="pull-right" /> <input type="text" name="pluginUrl" id="pluginUrl" class="col-sm-8"> </div> </div> </g:form> <g:message code="plugin.form.groovyNote" /> </div> </div> </div> </div>
Groovy Server Pages
3
kbens/rundeck
rundeckapp/grails-app/views/menu/_pluginInstallForm.gsp
[ "Apache-2.0" ]
# Some Useful CloudFoundry Aliases & Functions alias cfl="cf login" alias cft="cf target" alias cfa="cf apps" alias cfs="cf services" alias cfm="cf marketplace" alias cfp="cf push" alias cfcs="cf create-service" alias cfbs="cf bind-service" alias cfus="cf unbind-service" alias cfds="cf delete-service" alias cfup="cf cups" alias cflg="cf logs" alias cfr="cf routes" alias cfe="cf env" alias cfsh="cf ssh" alias cfsc="cf scale" alias cfev="cf events" alias cfdor="cf delete-orphaned-routes" alias cfbpk="cf buildpacks" alias cfdm="cf domains" alias cfsp="cf spaces" function cfap() { cf app $1 } function cfh.() { export CF_HOME=$PWD/.cf } function cfh~() { export CF_HOME=~/.cf } function cfhu() { unset CF_HOME } function cfpm() { cf push -f $1 } function cflr() { cf logs $1 --recent } function cfsrt() { cf start $1 } function cfstp() { cf stop $1 } function cfstg() { cf restage $1 } function cfdel() { cf delete $1 } function cfsrtall() {cf apps | awk '/stopped/ { system("cf start " $1)}'} function cfstpall() {cf apps | awk '/started/ { system("cf stop " $1)}'}
Shell
3
chensanle/ohmyzsh
plugins/cloudfoundry/cloudfoundry.plugin.zsh
[ "MIT" ]
<style> [ng-cloak] { display: none; } </style> <div ng-app="largetableBenchmark" ng-cloak> <div ng-controller="DataController"> <div class="container-fluid"> <p> Large table rendered with AngularJS </p> <div><label><input type="radio" ng-model="benchmarkType" value="none">none: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="baselineBinding">baseline binding: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="baselineInterpolation">baseline interpolation: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="ngBind">ngBind: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="ngBindOnce">ngBindOnce: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="interpolation">interpolation: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="bindOnceInterpolation">interpolation + bind-once: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="interpolationAttr">attribute interpolation: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="ngBindFn">ngBind + fnInvocation: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="interpolationFn">interpolation + fnInvocation: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="ngBindFilter">ngBind + filter: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="interpolationFilter">interpolation + filter: </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="ngModelConstName">ngModel (const name): </label></div> <div><label><input type="radio" ng-model="benchmarkType" value="ngModelInterpName">ngModel (interp name): </label></div> <ng-switch on="benchmarkType"> <baseline-binding-table ng-switch-when="baselineBinding"> </baseline-binding-table> <baseline-interpolation-table ng-switch-when="baselineInterpolation"> </baseline-interpolation-table> <div ng-switch-when="ngBind"> <h2>baseline binding</h2> <div ng-repeat="row in data"> <span ng-repeat="column in row"> <span ng-bind="column.i"></span>:<span ng-bind="column.j"></span>| </span> </div> </div> <div ng-switch-when="ngBindOnce"> <h2>baseline binding once</h2> <div ng-repeat="row in ::data"> <span ng-repeat="column in ::row"> <span ng-bind="::column.i"></span>:<span ng-bind="::column.j"></span>| </span> </div> </div> <div ng-switch-when="interpolation"> <h2>baseline interpolation</h2> <div ng-repeat="row in data"> <span ng-repeat="column in row">{{column.i}}:{{column.j}}|</span> </div> </div> <div ng-switch-when="bindOnceInterpolation"> <h2>baseline one-time interpolation</h2> <div ng-repeat="row in ::data"> <span ng-repeat="column in ::row">{{::column.i}}:{{::column.j}}|</span> </div> </div> <div ng-switch-when="interpolationAttr"> <h2>attribute interpolation</h2> <div ng-repeat="row in data"> <span ng-repeat="column in row" i="{{column.i}}" j="{{column.j}}">i,j attrs</span> </div> </div> <div ng-switch-when="ngBindFn"> <h2>bindings with functions</h2> <div ng-repeat="row in data"> <span ng-repeat="column in row"><span ng-bind="column.iFn()"></span>:<span ng-bind="column.jFn()"></span>|</span> </div> </div> <div ng-switch-when="interpolationFn"> <h2>interpolation with functions</h2> <div ng-repeat="row in data"> <span ng-repeat="column in row">{{column.iFn()}}:{{column.jFn()}}|</span> </div> </div> <div ng-switch-when="ngBindFilter"> <h2>bindings with filter</h2> <div ng-repeat="row in data"> <span ng-repeat="column in row"><span ng-bind="column.i | noop"></span>:<span ng-bind="column.j | noop"></span>|</span> </div> </div> <div ng-switch-when="interpolationFilter"> <h2>interpolation with filter</h2> <div ng-repeat="row in data"> <span ng-repeat="column in row">{{column.i | noop}}:{{column.j | noop}}|</span> </div> </div> <div ng-switch-when="ngModelConstName"> <h2>ngModel (const name)</h2> <div ng-repeat="row in data"> <input type="text" ng-model="row.i" name="constName" /> <input type="text" ng-model="row.j" /> </div> </div> <div ng-switch-when="ngModelInterpName"> <h2>ngModel (interp name)</h2> <div ng-repeat="(rowIdx, row) in data"> <input type="text" ng-model="row.i" name="input-{{rowIdx}}" /> <input type="text" ng-model="row.j" name="input2-{{rowIdx}}" /> </div> </div> </ng-switch> </div> </div> </div>
HTML
3
ivomju/angular.js
benchmarks/largetable-bp/main.html
[ "MIT" ]