Skip to content

Instantly share code, notes, and snippets.

View teriiehina's full-sized avatar

teriiehina teriiehina

View GitHub Profile

Keybase proof

I hereby claim:

  • I am teriiehina on github.
  • I am teriiehina (https://keybase.io/teriiehina) on keybase.
  • I have a public key whose fingerprint is CF1F D8C4 14CC C12D 5B1E 1618 C9F8 C160 7FFD A847

To claim this, I am signing this object:

@teriiehina
teriiehina / ServiceMandatAMImplTest.java
Created October 16, 2017 21:35
ProfessinnelSanteImpl introuvable
==> testListerMandatAM
==> nb factures = 1
==> mandatAM=MandatAMImpl[numero=257439MF,gestion=GestionImpl[code=SAM,libelle=PREST. NATURE AM SAL/VOL ],regime=RegimeImpl[code=S,libelleLong=SALARIE ,libelleCourt=SAL],ouvrantDroit=RessortissantImpl[Dn=0533885Identite=pf.cps.referentiel.fc.ressortissant.IdentiteImpl@7eb856cSexe=FEMININLocaliteImpl[code=98270,libelle=UTUROA-RAIATEA ,codePostal=]Insee=nullNIR=pf.cps.referentiel.fc.ressortissant.NumeroNIRImpl@406ec772Destinataire[ITAE/AVAEMAI/TEHAUPUAURA]],beneficiaire=RessortissantImpl[Dn=0533885Identite=pf.cps.referentiel.fc.ressortissant.IdentiteImpl@7eb856cSexe=FEMININLocaliteImpl[code=98270,libelle=UTUROA-RAIATEA ,codePostal=]Insee=nullNIR=pf.cps.referentiel.fc.ressortissant.NumeroNIRImpl@406ec772Destinataire[ITAE/AVAEMAI/TEHAUPUAURA]],destinataire=pf.cps.referentiel.fc.destinataire.DestinataireImpl@60999491,montantTotal=25840XPF,dateSaisie=2015-01-21 23:59:00.0,agentSaisie=AgentCpsImpl[code=99982,libelle=A
PS_INSCRIPTION
java.lang.RuntimeException: java.lang.NullPointerException
at pf.cps.rima.application.inscription.listener.ServiceInscriptionPsImpl.refoulerAdhesion_aroundBody4(ServiceInscriptionPsImpl.java:101)
at pf.cps.rima.application.inscription.listener.ServiceInscriptionPsImpl$AjcClosure5.run(ServiceInscriptionPsImpl.java:1)
at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96cproceed(AbstractTransactionAspect.aj:66)
at org.springframework.transaction.aspectj.AbstractTransactionAspect$AbstractTransactionAspect$1.proceedWithInvocation(AbstractTransactionAspect.aj:72)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96c(AbstractTransactionAspect.aj:70)
#!/usr/bin/env ruby
require 'json'
def puts_violation(violation)
severity = violation['severity']
filename = violation['file'].split('/').last
line = violation['line']
reason = violation['reason']
module Fastlane
module Actions
module SharedValues
SUPER_SCAN_FAILING_TESTS_NUMBER = :SUPER_SCAN_FAILING_TESTS_NUMBER
SUPER_SCAN_TOTAL_TESTS_NUMBER = :SUPER_SCAN_TOTAL_TESTS_NUMBER
end
class SuperScanAction < Action
def self.run(options)
@teriiehina
teriiehina / super_xcov.rb
Created June 7, 2016 10:28
Hacky way to get code coverage from xcov in a Fastlane lane
module Fastlane
module Actions
module SharedValues
SUPER_XCOV_CODE_COVERAGE = :SUPER_XCOV_CODE_COVERAGE
end
class SuperXcovAction < Action
def self.run(options)
Actions.verify_gem!('xcov')
require 'xcov'
@teriiehina
teriiehina / 0000-static-function-decorator.md
Created June 6, 2016 01:26
This is my first Swift Evolution proposition draft

Keybase proof

I hereby claim:

  • I am teriiehina on github.
  • I am teriiehina (https://keybase.io/teriiehina) on keybase.
  • I have a public key whose fingerprint is 3B45 D692 E436 652F BCCE 928A F993 F0D9 ECB9 3C35

To claim this, I am signing this object:

Verifying that +teriiehina is my blockchain ID. https://onename.com/teriiehina
@teriiehina
teriiehina / resign.sh
Last active May 23, 2022 20:53
Re-sign an IPA given a .mobileprovision and a signing identity
#!/usr/bin/env bash
if [ "$#" -ne 3 ]; then
echo "Usage: $0 ipa_path provisioning_profile_path signing_identity" >&2
exit 1
fi
set -e # make the script exit when a command fails.
set -u # exit when the script tries to use undeclared variables.